Skip to content

Commit b8220bb

Browse files
ajunertangjinzhou
authored andcommitted
fix: remove transitionStr
1 parent 23b26a2 commit b8220bb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

components/vc-drawer/src/DrawerChild.tsx

-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
removeEventListener,
1717
transformArguments,
1818
transitionEndFun,
19-
transitionStr,
2019
windowIsUndefined,
2120
} from './utils';
2221

@@ -360,9 +359,6 @@ const DrawerChild = defineComponent({
360359
const remScrollingEffect = (right: number) => {
361360
const { placement, duration, ease } = props;
362361

363-
if (transitionStr) {
364-
document.body.style.overflowX = 'hidden';
365-
}
366362
state.dom.style.transition = 'none';
367363
let heightTransition: string;
368364
let widthTransition = `width ${duration} ${ease}`;

0 commit comments

Comments
 (0)