SelectItem removed its entry from the shared itemLabels map on unmount, which fires for every item when the dropdown closes -- including the item that was just selected. That wiped the trigger's display label right after selecting (and after Escape/close in general). Labels only need to be learned once and can safely persist, matching the documented behavior in tests/Select.spec.ts. Found via manual Storybook verification. |
||
|---|---|---|
| .. | ||
| library | ||
| playground | ||