Troubleshooting
No toast appears
Check all three points:
createToastflow(...)is called during app setup.<ToastContainer />is rendered in active tree.- You call
toast.*after store initialization.
Error: store not initialized
text
[vue-toastflow] Toast store not initialized. Did you install the plugin?Cause: helper called before store exists.
Fix: initialize store with app.use(createToastflow(...)) early in startup.
Progress bar is missing
Possible reasons:
progressBaris false.durationisInfinityor0.- custom slot replaced progress renderer.
Toast dismisses too fast or resets
Check:
durationpauseOnHoverpauseStrategyupdate(...)calls (visible update resets timer)- duplicate behavior with
preventDuplicates: true
Duplicate toasts still appear
preventDuplicates compares only:
positiontypetitledescription
If any of these differ, toast is not treated as duplicate.
Queue looks stuck
Likely causes:
- queue is paused (
pauseQueuewas called) - no capacity (
maxVisiblestill full) - you are checking a different position stack
Call resumeQueue() and confirm current state.queue and state.toasts.
update throws validation error
update(id, options) requires non-empty title or description in options.
Include at least one text field.
HTML content renders unexpectedly
supportHtml: true uses v-html. Toastflow does not sanitize.
Use trusted HTML only.
Animations feel off
Check:
- CSS class overrides in
animation - CSS variables
--tf-toast-animation-in-durationand--tf-toast-animation-out-duration - reduced motion user preference
Next Diagnostics
- Inspect current state with
toast.getState(). - Observe events with
toast.subscribeEvents(...). - Verify effective config with
toast.getConfig().