MM-22165 Fix channel sidebar close gesture (#3879)
This commit is contained in:
parent
356282c138
commit
484e7068c3
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue