-
Notifications
You must be signed in to change notification settings - Fork 143
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
Focus trap in NotificationPanel prevents user from navigating to next item in UIShell header #6432
Comments
This was discussed during Carbon office hours on Nov 12, 2024. [email protected] led the discussion :) |
@elycheea Is there any update on this issue? Could you please help here? |
@arinclementibm @anurima9 Ahh, it sounds like you shared this in the System Squad office hours since we didn’t see you in our IBM Products office hours that day! @RichKummer reached out to Michael Gower about the current behavior in our notifications panel which does fall inline with current expectations. We could consider allowing teams to determine whether the notifications panel should be modal or non-modal in the meantime. @RichKummer maybe we can have some cross-squad discussion on it next refinement. @arinclementibm @anurima9 if you’re still able to join our office hours, you can find our team in another teams room — https://ibm.biz/join-carbon-dev-ibm-products-office-hours! It’ll help us guide the conversation better in our next refinement. |
Thank you for reviewing the notification panel today in office hours! |
Analysis from @paul-balchin-ibmApples and Oranges:
Refinement notesThe original Panel as integrated with the UI Shell worked as expected. However, removing focus trapping created many unintended side effects.
After chatting with @elycheea and @matthewgallo, we settled on the following fixes:
Test results resolving the "flicker" issue.The UI Shell has a top-level Any state changes inside The
with.header.container.movSince the NotificationsPanel is always being re-rendered "as new", there's no way to add logic to the Panel such as "animate on open, don't animate on update". SolutionsNone of these suggestions completely fix the problem.
without.header.container.mov |
I am trying to work only with the keyboard strokes, and on click of Tab I go to the notifications panel, click Enter to open it, and Tab again to bring focus to the different Tabbable elements in the panel. But it takes us into a loop and not able to exit from the panel after we reach the end of the panel. While we do have Esc key to exit and close the panel, we want to have other options to exit the panel so as to bring consistency among our other header action components fhttps://github.com/user-attachments/assets/a923b755-ea36-4d07-976d-4a39da52a4b7
https://github.com/user-attachments/assets/cd8f696d-22a0-4be0-8592-b941ad0e2615
or the ease of the user. Attached is one screen recording of the same behavior.
The text was updated successfully, but these errors were encountered: