angular.dart.ui
angular.dart.ui copied to clipboard
Dropdown menus in scrollable areas
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: https://github.com/angular-ui/bootstrap/issues/139 https://github.com/angular-ui/bootstrap/issues/2445 Perhaps you could add the option to set "append-to-body"?
Thank you and kind regards, Steven
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?
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. :(
So, let me see and propose the best one.
Would you happy if I will use the same solution (append to body) for dropdown menus?
If that solves the problem, I would be happy with that. ;-)