Skip to content

CB-4933 focus snackbar on open#2543

Merged
Wroud merged 3 commits intodevelfrom
CB-4933-notifications-focus
Apr 15, 2024
Merged

CB-4933 focus snackbar on open#2543
Wroud merged 3 commits intodevelfrom
CB-4933-notifications-focus

Conversation

@devnaumov
Copy link
Copy Markdown
Member

No description provided.

@devnaumov devnaumov self-assigned this Apr 10, 2024
Comment on lines +37 to +39
<div className={s(styles, { notification: true, mounted, closing }, className)}>
<div ref={focusedRef} className={s(styles, { notification: true, mounted, closing }, className)}>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure that we want to steal focus right when a notification appears. The original issue is that's impossible to navigate to snackbar with TAB, maybe we just need to add a proper tabIndex?

@devnaumov devnaumov requested a review from Wroud April 12, 2024 11:54
@Wroud Wroud merged commit c7ed9f3 into devel Apr 15, 2024
@Wroud Wroud deleted the CB-4933-notifications-focus branch April 15, 2024 15:28
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