-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Milestone
Description
Now that #1151 is merged we have bookmark folder popup position that is "good enough" for general use but the experience is not ideal in all scenarios.
For context, "top level" means a folder is on the bookmark bar itself and not nested inside another folder.
Folder popup position scenarios
- Normal/default position
- Top level: Show below the parent
- Nested: Show beside the parent (on the right side)
- Overflowing viewport to the right
- Top level: Align the popup to the right edge of the viewport
- Nested: Show beside the parent (on the left side)
- Subsequent nested folder popups should also open to the left
- At this point if a popup overflows to the left of the viewport then open to the right of the parent
- Subsequent nested folder popups should also open to the left
- Overflowing viewport both left and right
- If the viewport is very narrow and the popup overflows on both sides there's basically nothing we can do. In this case the user will need to use the native bookmark bar or bookmark manager.
The current popup position logic from #1151 covers everything other than opening subsequent nested folder popups to the left (and then to the right if overflowing the left edge of the viewport).
Other issues
- Popups remain in place when the parent is scrolled. Native chrome closes the popup upon scrolling the parent, perhaps we should do the same. TBH it's not such a big deal though.