We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
At the moment the dismiss operation is delayed by 1000ms and that param is hardcoded into the code. Could it be something useful to configure?
1000ms
The text was updated successfully, but these errors were encountered:
// show toast 3000ms toast.success('some text', { duration: 3000 })
Sorry, something went wrong.
Hi @lemihthien I'm not talking about the duration of the toast itself but the duration of the delay between dismissing (clicking on an X button) and the visual effect of dismissing it. That's hardcoded at 1 second here: https://github.com/timolins/react-hot-toast/blob/main/src/core/store.ts#L53
We're using this in a project and customizing the delay duration is quite important for us - I'll try to open a PR for this :)
No branches or pull requests
At the moment the dismiss operation is delayed by
1000ms
and that param is hardcoded into the code. Could it be something useful to configure?The text was updated successfully, but these errors were encountered: