Skip to content

Regression: some elements don't get css scoped during SSR #16813

@7nik

Description

@7nik

Describe the bug

Since 5.39.3 (likely #16797), <select> doesn't receive the scoping class during SSR.
At hydration, if the class is static, it is skipped, and thus the element remains unstyled.

Reproduction

REPL - checkout the server output

Image

Logs

System Info

Severity

blocking an upgrade

Metadata

Metadata

Assignees

No one assigned

    Labels

    cssStuff related to Svelte's built-in CSS handlingssr

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions