-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
bugSomething isn't workingSomething isn't working
Description
It seems impossible to update the duration of a toast already in progress. The aim is to reuse the previous toast to display the result of the request.
uuid =
LiveToast.send_toast(
:info,
gettext("Test in progress"),
duration: 100_000
)
# later in the live view
LiveToast.send_toast(
:success,
gettext("Test finished"),
duration: 3_000,
uuid: uuid
)The toast persists until the timeout defined in the first call. Is it possible that this is a current limitation?
We're currently using version 0.6.4 because 0.7.0 conflicts with our version of Gettext.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working