Skip to content

[Dropdown] Menus Should Open to the Left When Going Off-screen to the Right #4112

@andreiho

Description

@andreiho

Currently the horizontal positioning of the menus is not adjusted in any way, if the menu goes off-screen. This is extremely frustrating when building menus with multiple nested levels.

I know the direction of the menu can be set to open either to the left or to the right, but this is not ideal in a responsive website where the position of the menu items is not fixed and can change on any screen. Ideally the dropdown should know when a menu goes off-screen and open it in the opposite direction.

JSFiddle: http://jsfiddle.net/znhby35f/

Screenshot:

screenshot 2016-06-08 13 12 55

I'm not sure if this is already something confirmed or in progress, but I couldn't find a similar issue addressing this exact problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions