Outline: Dropdown menus should account for being at the edge of screen

Created on 8 Jul 2019  Â·  5Comments  Â·  Source: outline/outline

And if this is the case, they should launch in the opposite direction to make sure that menu items aren't hidden off-screen.

  • It may make sense to move to a more robust lib for handling menus
  • If the menu will lay past the bottom edge position it at the bottom edge
  • If the menu is taller than 75% of the screen height, it should scroll
bug enhancement good first issue

All 5 comments

For me, if a menu icon is below the top visible part of the screen (everything you see when you first open the page) or if you scroll down and click in a top-fixed menu icon (the three-dot icon on top-right), it doesn't work, you need to zoom out and make it visible when top-scrolled or scroll to top.

@tommoor I'm gonna start playing around with this, just wanted to double-check that if a menu is taller than 75% of the screen height, it's supposed to be capped at 75% and scrollable, correct?

That sounds reasonable, yep!

sorry it took a while but I finally had some time to look at it this week, I need some input from someone more familiar with the project to get it ready but it's a start :slightly_smiling_face:

Thanks for all your work here @MadMango – counting as closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paladini picture paladini  Â·  3Comments

FlowShowcontrol picture FlowShowcontrol  Â·  3Comments

tommoor picture tommoor  Â·  9Comments

MatheusRV picture MatheusRV  Â·  3Comments

harinij picture harinij  Â·  4Comments