Skip to content

Is there a way to handle SnackbarMessage timer's duration end? #2793

Closed Answered by Keboo
hcalxhcalxhcalx asked this question in Q&A
Discussion options

You must be logged in to vote

At present there is not really anything directly built-in for this, though you could build out enough tracking for it. To get the expiration you could watch the Message property on the Snackbar itself to know when a message is being removed (though you would need to track the previous value yourself). You would then also need to track if the user clicked the action button.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hcalxhcalxhcalx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants