Yes, this was a pain I encountered.
Ideally, the sidebar would animate closed, as it does when you click the sidebar toggle normally.
Since my component closes the sidebar, but doesnt animate it, it turns out to be a jolt.
I could either:
- animate the sidebar closed
- im unsure how to do this, as I think its done via JS + Css?
- dont close sidebar