Skip to content

Customizable Select elements break Astro pages #1097

@KingOfTac

Description

@KingOfTac

Astro Info

Astro                    v5.13.0
Node                     v24.1.0
System                   Windows (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

The markup of a page becomes broken and mangled if a customizable select element is used anywhere on the page, unless is:raw is applied to the select element.

MDN Docs

What's the expected result?

Newer and experimental platform features should just work if the browser supports it.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/withastro-astro-umwytfmj?file=src%2Fpages%2Findex.astro

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    - P3: minor bugAn edge case that only affects very specific usage (priority)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions