Closed haldiggs closed 7 years ago
Maybe. Off the top of my head as the component performs a resize tap into the event . Calculate the height of the largest list item and set the height of the div to that times the number of items and set the div overflow to scroll.
That said it seems like a lot of work. How does bootstrap-ember handle it?
There is also better alternatives out there like ember-power-select and the ember-bootstrap which has a dropdown component that could be used.
the bootstrap version allows the data-size attribute to limit the list size... it makes it scroll.
http://silviomoreto.github.io/bootstrap-select/examples/#menu-size
is there a way to make this work with this component?