-
Notifications
You must be signed in to change notification settings - Fork 76
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
[calcite-dropdown] odd behavior when inside a scrollable container #8685
Comments
If we call We would probably need to do that for all FloatingUI components so that these scrolling listeners are setup correctly. We need to maintain the call in @jcfranco if this sounds good I can proceed. since |
connect floatingUI elements once a component has loaded to correctly setup auto update events
Assigning to this milestone as @driskull has a PR ready. cc @geospatialem |
Installed and assigned for verification. |
Verified on @jcfranco @driskull Screen.Recording.2024-03-22.at.1.29.13.PM.mov |
Check existing issues
Actual Behavior
calcite-dropdown is not shown correctly when it's started as opened below the fold inside a scrollable container. If I click the button at this point nothing will happen, the dropdown will open if I click it a second time. A side note, if I scroll the container after the dropdown shows up it will stay fixed in that position even if I scrollwheel the trigger button out of view.
Expected Behavior
Reproduction Sample
https://codepen.io/rpanichakit/pen/vYPRVQN?editors=1000
Reproduction Steps
open
prop setReproduction Version
2.4.0
Relevant Info
No response
Regression?
No response
Priority impact
p4 - not time sensitive
Impact
No response
Calcite package
Esri team
ArcGIS Online
The text was updated successfully, but these errors were encountered: