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

[Date Picker]: dropdown body remains active when scrolled out of view, leading to page crash #2645

Open
NatalliaAlieva opened this issue Nov 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@NatalliaAlieva
Copy link
Collaborator

Steps to Reproduce

  1. Open the Project Planning demo.
  2. Adjust the column widths to a size that triggers the appearance of a horizontal scrollbar.
  3. Open the Date Picker body by clicking on the date input field.
  4. Scroll the page until the Date Picker input field is no longer visible on the screen.
  5. Observe the behavior of the dropdown and the page

Actual result

The Date Picker dropdown only closes on a mouse-up event, which allows the dropdown to be scrolled off-screen while still active, resulting in a page crash.

Screen.Recording.2024-11-18.at.11.58.44.mov

Expected result

When scrolling the page, the Date Picker dropdown should automatically close once the date input field becomes no longer visible on the screen. This behavior should prevent any off-screen activity and avoid potential page crashes.

Environment

  • UUI version: 5.11.0
  • Browser name: any
  • Operating System: any
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: In testing
Development

No branches or pull requests

1 participant