Skip to content

Commit fbc4733

Browse files
committed
fix #115
1 parent 26e6ad7 commit fbc4733

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rc-drawer",
3-
"version": "2.0.6",
3+
"version": "2.0.7",
44
"description": "drawer component for react",
55
"keywords": [
66
"react",

src/DrawerChild.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ class DrawerChild extends React.Component<IDrawerChildProps, IState> {
125125
delete currentDrawer[this.drawerId];
126126
if (open) {
127127
this.setLevelTransform(false);
128+
document.body.style.touchAction = '';
128129
}
129130
if (typeof getOpenCount === 'function' && !getOpenCount()) {
130131
document.body.style.overflow = '';

0 commit comments

Comments
 (0)