fix: reset this.gestureX on manual setting

This commit is contained in:
osdnk
2019-05-13 19:39:04 +02:00
committed by satyajit.happy
parent d4c51f4012
commit 2a1620d3de

View File

@@ -329,6 +329,7 @@ export default class DrawerView extends React.PureComponent<Props> {
cond(clockRunning(this.clock), stopClock(this.clock)),
// Update the open value to trigger the transition
set(this.isOpen, this.nextIsOpen),
set(this.gestureX, 0),
set(this.nextIsOpen, UNSET),
])
),