ui
ui copied to clipboard
Select Component Scrollbar Behavior Issue in Chrome on Windows
Environment OS: Windows Browser: Chrome Version 120.0.6099.225
Description On Windows, when clicking on a select component, the side scrollbar unexpectedly hides and is replaced with a background, causing other page components to shift slightly. This behavior does not occur on macOS, likely because the scrollbar is hidden by default there.
Steps to Reproduce Open Chrome on Windows. Click to select fruit. Observe that the scrollbar disappears and the background replaces it, with slight movement in the page layout.
Additional Information An MVP with a clean install can be found here for further investigation: CodeSandbox MVP
I have attached screenshots to demonstrate the issue:
shadcn-ui uses radix-ui under the hood. You can see that this issue also occurs in the radix-ui documentation. It's likely shadcn-ui would have little control over resolving this so I recommend raising an issue over at radix-ui.
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.