Skip to content

Commit 0699bf8

Browse files
committed
fix: change default disposeTimeout to 0
This better align with the expected unmounting behavior of the components in the popper slot and prevent hard to debug issues.
1 parent 3d9fca9 commit 0699bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/floating-vue/src/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const config: FloatingVueConfig = {
1414
// Skip delay & CSS transitions when another popper is shown, so that the popper appear to instanly move to the new position.
1515
instantMove: false,
1616
// Auto destroy tooltip DOM nodes (ms)
17-
disposeTimeout: 5000,
17+
disposeTimeout: 0,
1818
// Triggers on the popper itself
1919
popperTriggers: [],
2020
// Positioning strategy

0 commit comments

Comments
 (0)