Skip to content

Commit

Permalink
fix: change default disposeTimeout to 0
Browse files Browse the repository at this point in the history
This better align with the expected unmounting behavior of the components in the popper slot and prevent hard to debug issues.
  • Loading branch information
Akryum committed Jan 8, 2024
1 parent 3d9fca9 commit 0699bf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/floating-vue/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const config: FloatingVueConfig = {
// Skip delay & CSS transitions when another popper is shown, so that the popper appear to instanly move to the new position.
instantMove: false,
// Auto destroy tooltip DOM nodes (ms)
disposeTimeout: 5000,
disposeTimeout: 0,
// Triggers on the popper itself
popperTriggers: [],
// Positioning strategy
Expand Down

0 comments on commit 0699bf8

Please sign in to comment.