Skip to content

Toast scroll issue #1694

Answered by TheSisb
HartiganHM asked this question in Q&A
Jul 26, 2021 · 2 comments · 8 replies
Discussion options

You must be logged in to vote

Hi again @HartiganHM,

Upon looking into this and chatting with the team, this is an unfortunate side effect of the design of toasts that we can't really change. The way Toasts are designed is that, for accessibility, they steal focus when they appear and restore focus when they are dismissed. While they're visible, you scroll the page and when it is dismissed, upon restoring focus, the browser naturally jumps back to the focused element to bring it into view.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@HartiganHM
Comment options

Comment options

You must be logged in to vote
7 replies
@HartiganHM
Comment options

@TheSisb
Comment options

@HartiganHM
Comment options

@TheSisb
Comment options

@HartiganHM
Comment options

Answer selected by HartiganHM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants