angular.dart.ui icon indicating copy to clipboard operation
angular.dart.ui copied to clipboard

Dropdown menus in scrollable areas

Open stevenbirr opened this issue 10 years ago • 5 comments

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

dropdowns in scrollable areas

stevenbirr avatar Feb 19 '15 08:02 stevenbirr

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?

akserg avatar Feb 19 '15 16:02 akserg

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. :(

stevenbirr avatar Feb 20 '15 19:02 stevenbirr

So, let me see and propose the best one.

akserg avatar Feb 20 '15 20:02 akserg

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

akserg avatar Feb 25 '15 17:02 akserg

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

stevenbirr avatar Mar 02 '15 12:03 stevenbirr