Skip to content

Commit 9c92443

Browse files
committed
fix(theme-default): increase medium-zoom delay
1 parent 3d7d4a4 commit 9c92443

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/@vuepress/theme-default/src/node/utils/resolveMediumZoomPluginOptions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const resolveMediumZoomPluginOptions = (
1515
selector:
1616
'.theme-default-content > img, .theme-default-content :not(a) > img',
1717
zoomOptions: {},
18-
delay: 300,
18+
// should greater than page transition duration
19+
delay: 400,
1920
}
2021
}

0 commit comments

Comments
 (0)