Skip to content

Commit 14c7640

Browse files
committed
fix(VOverlay): don't try to run scrollStrategy after closing
fixes #16569
1 parent 02d7ac3 commit 14c7640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vuetify/src/components/VOverlay/scrollStrategies.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function useScrollStrategies (
5050

5151
scope = effectScope()
5252
await nextTick()
53-
scope.run(() => {
53+
scope.active && scope.run(() => {
5454
if (typeof props.scrollStrategy === 'function') {
5555
props.scrollStrategy(data, props, scope!)
5656
} else {

0 commit comments

Comments
 (0)