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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[list-dropdown] flickering/incorrect placement when scrolling anchor off-screen #751

Open
MikeMatusz opened this issue Nov 19, 2024 · 0 comments
Labels
bug Something isn't working priority: low

Comments

@MikeMatusz
Copy link
Contributor

Describe the bug:
This could be an issue with the floating-ui library, although they tend to defer similar issues as incorrect middleware usage.

To Reproduce:
In our case, we have a chips autocomplete in a scrollable sidebar on the right edge of the page. Seems like it might be sensitive to window size.

  1. Open the autocomplete dropown.
  2. Scroll the autocomplete input off-screen and back on slowly several times.
  3. See the dropdown sometimes appear detached from the input at the top-right corner of the container, sometimes flickering back and forth a few times before settling.

Expected behavior:
List drodpown should consistently be hidden when the anchor is off-screen, or attached to the anchor when on-screen.

Screenshots:
I have a recording of this happening, but can't upload it here because the software is internal.

Please complete the following information:

  • Forge version: 3.3.3
  • I have searched existing issues before creating this report? Y
  • Browser: Chrome, maybe others
  • Platform: desktop
  • OS: Windows, maybe others

Additional context:

@MikeMatusz MikeMatusz added bug Something isn't working priority: low labels Nov 19, 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 priority: low
Projects
None yet
Development

No branches or pull requests

1 participant