Skip to content

Commit

Permalink
Update .changeset/great-houses-grin.md
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Taranto <[email protected]>
  • Loading branch information
felixhabib and michaeltaranto authored Oct 24, 2024
1 parent 0621d6f commit bbe177c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .changeset/great-houses-grin.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ updated:
- useToast
---

**useToast**: Support dynamic dismiss timeout duration
**useToast**: Reduce auto dismiss timeout and dynamically increase it based on content length.

Previously, all toasts would automatically dismiss after 10 seconds.
This update adjusts the timeout duration for toasts based on their content length, ensuring users have enough time to read the message, while minimising the time content is obscured by the toast.
Reduce auto dismiss timeout to 5 seconds (previously 10 seconds) as a baseline.
The timeout will increase based on the content length, ensuring users have enough time to read the message, while minimising the time content is obscured by the toast.

0 comments on commit bbe177c

Please sign in to comment.