-
Notifications
You must be signed in to change notification settings - Fork 733
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Dialog] scrolling issue with react-select inside #1128
Comments
I think we might need some more information here as the mouse wheel appears to be working fine in your sandbox for me. Are you able to provide a video capture of the issue you're having? Or some more details like, browser etc. CleanShot.2022-01-31.at.16.31.14.mp4 |
The issue is present only when the list has a long overflow (I have a small screen but you should reproducing it adding more items on the list) Enregistrement.de.l.ecran.2022-01-31.a.17.37.43.mov |
Dialog
: scrolling issue
Dialog
: scrolling issueDialog
: scrolling issue
Dialog
: scrolling issue
Given we now have our own |
Hi 👋 I'm still trying to resolve this but for the record, I'm facing the same issue with :
|
Hey @davidavz, the one with ours works as far as I can tell. |
My bad ! |
I am having issues with the Radix Dialog and the Radix select. |
I am also have the same issues with the Radix Select nested within the Radix Dialog. |
Replacing RadixUI
and my react-select component is something like
|
I'm experiencing this issue with Radix's AlertDialog and react-select where the scroll wheel refuses to work on a long list of options when the select is inside of the AlertDialog. And I finally figured out what’s causing this bug! When the AlertDialog is opened, Radix registers This is implemented using The problem therefore occurs because, by default, This is exactly what I’ve confirmed this because removing the event listeners using Chrome’s devtools immediately fixes the bug. @benoitgrelard @jjenzz I'm wondering whether Radix would consider surfacing this |
This worked fine for me with shadcn Dialog |
For shadcn users, this comment seems to fix all of the problems for me. Summary: Update your |
I am facing the same issue with the native Radix Select component. I feel this is an issue with the Dialog component, considering it is impacting so many select alternatives. @jamesl1001 seems to have found the issue. |
Bug report
Current Behavior
I'm using a
react-select
component inside of aDialog
component, I had to add apointer-events: auto
to deal with visibility issue but now I'm facing a scrolling issue with my menu list.Expected behavior
The mouse wheel should works well
Reproducible example
CodeSandbox Template
Suggested solution
Additional context
Your environment
The text was updated successfully, but these errors were encountered: