-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
Describe the bug
If you have a sidebar full of saved queries and you try to delete the very last query, the action menu overflows below the footer and forces you to scroll down to see the "Delete" button, which can be frustrating.
It would be good if the menu didn't overflow below the footer and instead popped up in view of the user.
See below for a visual example of this:
Steps to reproduce
- Add lots of saved queries
- Go to the last saved query and open the action menu
- Notice the overflowing menu
Expected behavior
The action menu shouldn't overflow and all options should be visible without having to scroll to see them.
- Disable scroll while dropdown is open
- Calculate the y coordinate of the menu and position dropdown upwards or downwards based on this y height (can't use element number of the saved query as it could have been scrolled to the bottom)
- Add confirmation message and button for "Delete" action
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
📋 5 Backlog