From bbe177cee705dda94457ee083a2702d8aba2e7a0 Mon Sep 17 00:00:00 2001 From: Felix Habib <33821218+felixhabib@users.noreply.github.com> Date: Thu, 24 Oct 2024 13:45:42 +1100 Subject: [PATCH] Update .changeset/great-houses-grin.md Co-authored-by: Michael Taranto --- .changeset/great-houses-grin.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.changeset/great-houses-grin.md b/.changeset/great-houses-grin.md index 0089c6638e3..5fe3a8471e3 100644 --- a/.changeset/great-houses-grin.md +++ b/.changeset/great-houses-grin.md @@ -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.