Skip to content

Bookmark folder popup position not always ideal #1155

@maxmilton

Description

@maxmilton

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

  1. Normal/default position
    • Top level: Show below the parent
    • Nested: Show beside the parent (on the right side)
  2. 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
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXbugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions