-
Notifications
You must be signed in to change notification settings - Fork 77
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
Floating UI issues with Tree and Dropdown #6300
Comments
Oh nice - I noticed this issue and was just about to open one. If its helpful, I found this issue did not reproduce on chrome v108 🤷 Here was my codepen anyway, if you add It is happening in the viewer a few too: cc: @AdelheidF |
@ethanbdev Interesting. Thanks for sharing the browser version info. I'm wondering if we should hold off on this to see if it gets fixed in a future Chrome version. |
Moving to the February 2023 milestone per Franco's note above regarding checking for a potential fix in a future Chrome/Edge browser update. |
It's not Chrome's bug per se, they're now adhering to the spec. From what I remember, @jcfranco patched Safari and Firefox, but not Chrome (or just 109+ now needs to be checked and patched) |
@atomiks Thanks for chiming in! I'll apply the patch to Chrome 109+ as suggested.
|
**Related Issue:** #6300 ## Summary This addresses positioning issues in Chrome 109+. Version 109 updated offsetParent behavior to follow the latest spec changes from w3c/csswg-drafts#159.
Installed and assigned for verification. |
Actual Behavior
The first tree-item has the expected floating UI behavior, but subsequent tree-items placement looks off that surfaced while verifying #5168 cc @anveshmekala
Expected Behavior
The Dropdown item should be present in line with its parent Dropdown, similar to the first item.
Reproduction Sample
https://codepen.io/geospatialem/pen/QWBqWeN
Reproduction Steps
Open the Codepen sample

Select the first dropdown and observe the dropdown-item's placement (as-expected)
Select either the second or third dropdown and observe the behavior of the dropdown-item's placement
Reproduction Version
next.726
Relevant Info
Applicable to Chrome and Edge browsers in the latest version (Version 109.0.5414.74 (Official Build) (64-bit)).
Firefox is not affected.
Regression?
beta.94
Impact
High
Esri team
Calcite (dev)
The text was updated successfully, but these errors were encountered: