Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report][3.6.13] VSnackbar timer not updated when timeout changes #20196

Assignees
Labels
C: VSnackbar VSnackbar T: bug Functionality that does not work as intended/expected
Milestone

Comments

@YummyHOF
Copy link

Environment

Vuetify Version: 3.6.13
Vue Version: 3.4.30
Browsers: Edge 126.0.0.0
OS: Windows

Steps to reproduce

  1. Set timeout to some value and use timer when mounting the snackbar
  2. Change the timeout duration
  3. Show snackbar

Expected Behavior

The timer strip would update its countdown counter when changing timeout

Actual Behavior

The timer keeps the initial timeout value and no longer displays remaining time correctly

Reproduction Link

https://play.vuetifyjs.com/#...

@YummyHOF
Copy link
Author

If someone is looking for workaround, just add v-if="visible" to the snackbar. This will recreate the snackbar with new timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment