Skip to content

fix keyboard navigation issues with windowTopMenu#3914

Merged
lutzhelm merged 11 commits intoProjectMirador:mainfrom
fstoe:3903
Feb 14, 2025
Merged

fix keyboard navigation issues with windowTopMenu#3914
lutzhelm merged 11 commits intoProjectMirador:mainfrom
fstoe:3903

Conversation

@fstoe
Copy link
Contributor

@fstoe fstoe commented Jun 11, 2024

Hello,
this PR tries to fix the issue described here: #3903

The reason why view and thumbnail options could not be controlled correctly was due to the use of the MUI Menu component and not the wrong TabIndex as described in the issue. The component expects MenuItems as direct children. This was fixed by using a popover instead of the menu, (on which menu is based upon) and setting the MenuLists in WindowViewSettings and WindowThumbnailSettings.

@fstoe fstoe marked this pull request as draft June 11, 2024 09:31
@fstoe fstoe marked this pull request as ready for review June 11, 2024 09:51
@fstoe
Copy link
Contributor Author

fstoe commented Jun 12, 2024

Edit: It seems as the keyboard navigation worked as expected when M3 was still using Material Ui v4.

gerdesque
gerdesque previously approved these changes Jul 9, 2024
@codecov
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.08%. Comparing base (05194d8) to head (fb1daa1).
Report is 79 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3914      +/-   ##
==========================================
+ Coverage   94.52%   95.08%   +0.56%     
==========================================
  Files         313      317       +4     
  Lines       14767    16003    +1236     
  Branches     2496     2508      +12     
==========================================
+ Hits        13958    15216    +1258     
+ Misses        804      783      -21     
+ Partials        5        4       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

gerdesque
gerdesque previously approved these changes Dec 19, 2024
@lutzhelm lutzhelm merged commit 3b4e128 into ProjectMirador:main Feb 14, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants