StreamlitAntdComponents
StreamlitAntdComponents copied to clipboard
SegmentItems break when `prefers-reduced-motion` is on
There seems to be an issue when the prefers-reduced-motion is enabled* , segmented controls render the active Item incorrectly in all browsers
The div that contains the label & input gets a background-color: rgb(255, 255, 255); property, while with the setting disbaled, the div is transparent and the contents of the control can be seen correctly
- https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion