Skip to content

Commit 4c1347c

Browse files
author
undefined
committed
fix: drawer jump bug #4609
close #4609
1 parent 11498ad commit 4c1347c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-drawer/src/Drawer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const Drawer = defineComponent({
8181
}
8282
this.preProps.open = val;
8383
if (val) {
84-
nextTick(() => {
84+
setTimeout(() => {
8585
this.domFocus();
8686
});
8787
}

0 commit comments

Comments
 (0)