You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently due to using react-virtualized the height has to be known (to enable windowing), either as an explicit pixel height passed to menuHeight, or derived pixel height from the number of menu items. If we drop react-virtualized (#54) you should be able to leverage CSS (use 100vh, etc), but until then it has to be one of the two.
One workaround you might try is using a measurement component to pass the explicit container height. I used to do this with mui-table when it also used react-virtualized. I would use vx's ParentSize and a wrapping component. Something like this (untested, but should lead you in the right direction).
I'd like to adapt the menu height based on the number of rows and also based on the screen size
is this possible?
The text was updated successfully, but these errors were encountered: