Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
andreiho opened this issue Jun 8, 2016 · 3 comments
Closed

Comments

@andreiho
Copy link
Contributor

andreiho commented Jun 8, 2016

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.

@stale
Copy link

stale bot commented Feb 23, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 23, 2018
@stale stale bot closed this as completed Mar 25, 2018
@mehrdad-shokri
Copy link

@andreiho after 2 years, do you remember how you solved it?

@andreiho
Copy link
Contributor Author

@mehi-shokri This was fixed a while ago: #4211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants