My personal preference would be that the sidebar will hide when it doesn’t make sense to show it because of the amount of space it takes when resizing the window. Maybe an option to set this preference could be implemented.
This bug is still in there.
While hiding the sidebar with a very small window may be useful. It should show again, when the window is being resized to again