Loading
Fix super sidebar focus after unpinning item
What does this MR do and why?
Unpinning an item from the super sidebar pinned section moved focus to the first pinned item's pin button. Focus now moves to the "More features" button instead.
Only reproduces with hide_unpinned_sidebar_items enabled.
References
Resolves #612986 (closed)
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- Enable the feature flags:
Feature.enable(:feature_library_modal) Feature.enable(:hide_unpinned_sidebar_items) - Pin a sidebar item, then unpin it.
- Confirm focus moves to the "More features" button, not the first pinned item's pin button.
- Verify with both mouse and keyboard.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Austin Regnery