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 keep on screen left/right #4376

Closed
tikoflano opened this issue Aug 1, 2016 · 1 comment
Closed

Dropdown keep on screen left/right #4376

tikoflano opened this issue Aug 1, 2016 · 1 comment

Comments

@tikoflano
Copy link

Right now you can use keepOnScreen and the dropdown will automatically detect if it should open up or down in order to keep inside its context. Could be possibly to add an option, or improve this one, so the dropdown automatically detects if it should open to the left or to the right in order to keep in context?

Example,
I have this table where clicking on an icon in the second headers row opens a dropdown menu. I can't choose upfront if the menu should open left or right because either way some elements will have problems displaying.

Right now my only solution is to keep enaugh enough margin left and right to the table so it can display de menu, but this table can have a lot of data and I don't wan't to waste any pixel.

image

image

@tikoflano
Copy link
Author

Now I see it is a duplicate from #4112 and has already a PR #4211

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

No branches or pull requests

1 participant