mirror of
https://github.com/vercel/flags.git
synced 2026-09-19 03:49:23 +08:00
84d4292684
Radix Select injects the selected option label into the trigger via a client-only portal, so the statically rendered page ships an empty trigger and the label pops in after hydration. Render the value as SelectValue children instead, so the label is present in the SSR HTML (this also disables the portal path via valueNodeHasChildren). Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>