You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Azaret The message disappears after a certain amount of time
Changing the page does not refresh nor reset any timer so, the best way should be just to reduce the amount time to avoid that I guess.
Detect the page transition just to hide this error message would be overkill I think.
@Azaret By exploring the focus API, found this function clearMessages. Guess you could detect the page transitions to clear all the messages in the stack.
I would say this is not a bug, messages are working based on duration, not on page.
That way, you can show a message, then navigate to another message (for example, inscription then go to event page with confirmation).
Maybe we could clean up errors though, using react-router hook onchange on base route.
Another idea would be to have a shorter ttl for the error message (that is configurable)
Easy step to reproduce:
What happens: No event live error message is shown when going to the event list page.
Expected: Error message should hide when changing page.
The text was updated successfully, but these errors were encountered: