Skip to content

Unpinned admin sidebar can remain expanded after cursor is moved out #3416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ybnd opened this issue Oct 11, 2024 · 2 comments · May be fixed by #4108
Open

Unpinned admin sidebar can remain expanded after cursor is moved out #3416

ybnd opened this issue Oct 11, 2024 · 2 comments · May be fixed by #4108
Labels
affects: 8.x Issue impacts 8.x releases bug ux User Experience related works

Comments

@ybnd
Copy link
Member

ybnd commented Oct 11, 2024

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:

  1. Log in for the admin sidebar to show up
  2. Hover over the sidebar until it expands
  3. Open at least one expandable menu section
  4. 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
  5. 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.

@ybnd ybnd added bug needs triage New issue needs triage and/or scheduling ux User Experience related works labels Oct 11, 2024
@github-project-automation github-project-automation bot moved this to 🆕 Triage in DSpace Backlog Oct 11, 2024
@alanorth
Copy link
Contributor

@ybnd I have seen the top menu bar do this as well. Menu items with dropdowns like "All of DSpace" can get stuck too. We have three menu items with dropdowns so it is more likely to be triggered. As far as I recall, both these menus use the same implementation so might be affected by the same bug.

@alexandrevryghem
Copy link
Member

I already fixed that behaviour in #3581 for the PUBLIC menus with the HoverOutsideDirective. The same directive could be used to fix this issue.

@tdonohue tdonohue moved this from 📋 To Do to 🏗 In Progress in DSpace Maintenance (9.x, 8.x, 7.6.x) Mar 24, 2025
@tdonohue tdonohue added affects: 8.x Issue impacts 8.x releases and removed needs triage New issue needs triage and/or scheduling labels Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: 8.x Issue impacts 8.x releases bug ux User Experience related works
Projects
4 participants