dspace-angular
dspace-angular copied to clipboard
Unpinned admin sidebar can remain expanded after cursor is moved out
trafficstars
Describe the bug
Once in a while, the admin sidebar "sticks" in the expanded state after the cursor is moved out.
Steps to reproduce the behavior:
- Log in for the admin sidebar to show up
- Hover over the sidebar until it expands
- Open at least one expandable menu section
- Move the cursor out of the sidebar, but don't click anywhere so it doesn't lose focus
- You'll see that the sidebar remains open
- You can scroll the page and interact with other "hoverable" elements, and the sidebar will remain open
- You can even move the cursor out of the browser window
- Click anywhere
- The sidebar will close
Expected behavior
There should be a general timeout to ensure the admin sidebar closes after a while once the cursor is moved out.