Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select Options Are Not Covered By Thier Container After Scrolling #2693

Open
Jacob-Friesen opened this issue Apr 11, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Jacob-Friesen
Copy link

馃悰 Bug Report

When the Select component is in container (e.g. a Modal), if you open the Select and scroll the options of it are not constrained by the parent container.

To Reproduce

This was provided as a minimum public example of the internal issue we faced: https://stackblitz.com/edit/select-overflow-5ye5se?file=package.json,src%2FApp.tsx,src%2Fmain.tsx&terminal=dev

Expected Behavior

It was agreed after talking to the Canvas Kit team that the Select options will be hidden automatically when the Select itself no longer shows.

Actual Results

See how the Select options stay open in the To Reproduce section.

Browser (if applicable)

Chrome - though it probably applies in all browsers.

Link to repl or repo (highly encouraged)

It is not public unfortunately.

Error Output

No errors triggered.

@Jacob-Friesen Jacob-Friesen added the bug Something isn't working label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 馃啎 New
Development

No branches or pull requests

1 participant