From 484e7068c302fc6e25bb7fb615d706188f6164f9 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Sat, 1 Feb 2020 13:12:05 -0300 Subject: [PATCH] MM-22165 Fix channel sidebar close gesture (#3879) --- app/components/sidebars/drawer_layout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/sidebars/drawer_layout.js b/app/components/sidebars/drawer_layout.js index ed52f804e..e0c525f77 100644 --- a/app/components/sidebars/drawer_layout.js +++ b/app/components/sidebars/drawer_layout.js @@ -454,7 +454,7 @@ export default class DrawerLayout extends Component { }; _panResponderMove = (e: EventType, { moveX, dx }: PanResponderEventType) => { - const useDx = Platform.OS === 'ios' && this.getDrawerPosition() === 'left'; + const useDx = Platform.OS === 'ios' && this.getDrawerPosition() === 'left' && !this._isClosing; let openValue = this._getOpenValueForX(useDx ? dx : moveX); if (this._isClosing) {