-
-
Notifications
You must be signed in to change notification settings - Fork 335
Interaction with dropdown inside a modal makes modal to jump to top #2700
Copy link
Copy link
Closed
Labels
type/bugAny issue which is a bug or PR which fixes a bugAny issue which is a bug or PR which fixes a bug
Milestone
Description
Bug Report
The following setup is used:
Modal that contains a Form with a long content. The content has one or more Dropdown elements.
When changing / selecting a dropdown value the modal content jumps to the top.
Steps to reproduce
- Click button to open a modal.
- Ensure that dropdown is below initial viewport (so that not entire modal is fully visible).
- Scroll down to the dropdown.
- Interact with dropdown (click and select any value).
Expected result
No scrolling or jumping happens.
Works fine with 2.8.8:
https://jsfiddle.net/zbvhwqm9/1/
Actual result
Modal instantly jumps/scrolls (no animation) to the top.
Testcase
https://jsfiddle.net/zbvhwqm9/ (2.9.1)
https://jsfiddle.net/fd34qy61/ (2.9.2)
Screenshot
Version
2.9.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type/bugAny issue which is a bug or PR which fixes a bugAny issue which is a bug or PR which fixes a bug
