Hello,
Thanks for this package is really neat!!!
I'd like to know if there is a way to update the height of the scrollbar when the content's height changes. Basically I'm trying to add this to a vertical menu on a sidebar. The issue is that some of the menu elements have submenus, so the content's height changes whenever those are opened and closed.
Here is a live reduced sample of what I'm trying to build:
https://codesandbox.io/s/adoring-hodgkin-4ikzz
Also there is another issue when the elements are expanded and then collapsed, the scrollbar is still visible even though the content's height fits the parent element. To reproduce, expand all elements and then collapse them all.
Hello,
Thanks for this package is really neat!!!
I'd like to know if there is a way to update the height of the scrollbar when the content's height changes. Basically I'm trying to add this to a vertical menu on a sidebar. The issue is that some of the menu elements have submenus, so the content's height changes whenever those are opened and closed.
Here is a live reduced sample of what I'm trying to build:
https://codesandbox.io/s/adoring-hodgkin-4ikzz
Also there is another issue when the elements are expanded and then collapsed, the scrollbar is still visible even though the content's height fits the parent element. To reproduce, expand all elements and then collapse them all.