-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
- P3: minor bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)
Description
Astro Info
Astro v5.14.1
Vite v6.3.6
Node v20.19.1
System Linux (x64)
Package Manager npm
Output static
Adapter none
Integrations none
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Conditional branching within table elements causes DOM structure corruption. Visually, the UI elements appearing after
are rendered above the table. <tr>
<th>hoge</th>
<td>
{
formData.hoge === 'other' &&
formData.hoge_other && (
<> ({formData.hoge_other })</>
)
}
</td>
</tr>

What's the expected result?
displaying exactly as the DOM structure is written
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-9c13wkr2?file=src%2Fpages%2Findex.astro
Participation
- I am willing to submit a pull request for this issue.
Metadata
Metadata
Assignees
Labels
- P3: minor bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)