This is causing menus embedded towards the bottom of a page to spill off the viewable screen. As a temporary fix in our project, we can override this max-height to 300px. But in an ideal world, wouldn't we want the library to override the default max-height IF that would cause the menu to spill off the current viewport? Thoughts?
The default max-height of a
dropdown-menu
is 400px, as set here: https://github.com/sukima/ember-cli-select-picker/blob/master/vendor/select-picker.css#L20This is causing menus embedded towards the bottom of a page to spill off the viewable screen. As a temporary fix in our project, we can override this max-height to 300px. But in an ideal world, wouldn't we want the library to override the default max-height IF that would cause the menu to spill off the current viewport? Thoughts?
Of note:
viewport
option, to accommodate this (e.g. https://getbootstrap.com/javascript/#tooltips): https://github.com/twbs/bootstrap/pull/11593