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 in scrollable areas #147

Open
stevenbirr opened this issue Feb 19, 2015 · 5 comments
Open

Dropdown menus in scrollable areas #147

stevenbirr opened this issue Feb 19, 2015 · 5 comments
Assignees
Labels
Milestone

Comments

@stevenbirr
Copy link

Hello,

is there a way to fix the common problem of positioning dropdowns, tooltips, popovers in scrollable areas? We encountered a bug, in dartium as well as in chrome, that dropdown menus are clipped in scrollable ("overflow: scroll") areas, see the picture.

May be related to:
angular-ui/bootstrap#139
angular-ui/bootstrap#2445
Perhaps you could add the option to set "append-to-body"?

Thank you and kind regards,
Steven

dropdowns in scrollable areas

@akserg akserg added the bug label Feb 19, 2015
@akserg akserg added this to the 0.6 milestone Feb 19, 2015
@akserg akserg self-assigned this Feb 19, 2015
@akserg
Copy link
Owner

akserg commented Feb 19, 2015

Option 'append-to-body' exists in tooltip and popover from beginning. Check this line. Can you use it in your case and report.
May I ask you code-example for dropdowns?

@stevenbirr
Copy link
Author

Hello akserg, I made a short demo: https://github.com/stevenbirr/angular-ui.dart.dropdown-example
The tooltips are working in scrollable areas, the dropdown menus unfortunately not quite good. :(

@akserg
Copy link
Owner

akserg commented Feb 20, 2015

So, let me see and propose the best one.

@akserg
Copy link
Owner

akserg commented Feb 25, 2015

Would you happy if I will use the same solution (append to body) for dropdown menus?

@stevenbirr
Copy link
Author

If that solves the problem, I would be happy with that. ;-)

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

No branches or pull requests

2 participants