Skip to content

Conversation

tamatomas
Copy link

@tamatomas tamatomas commented Apr 10, 2023

It is generally a good practice to pause the auto-dismiss feature of the toast component when it receives focus. This is especially important for accessibility reasons, as it allows users with screen readers or other assistive technologies to have enough time to interact with the content of the toast message.
I added it as a prop but I believe it should be the default behavior so the prop is not needed IMHO.

@vercel
Copy link

vercel bot commented Apr 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-hot-toast ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2023 3:16pm

@tamatomas
Copy link
Author

@timolins any plans to support this?

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.

2 participants