Show/hide scroll in ui.sidebar


I wonder, how to implement this feature: show scroll inside of a sidebar, when it’s expanded, and hide scroll after sidebar collapses.

This example is not working properly.

Scroll is still present after sidebar turns to collapsed state.

You could use css: Code Snippet

1 Like

It works. Thank you very much!