mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-10 17:23:42 +08:00
fix: reset this.gestureX on manual setting
This commit is contained in:
@@ -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),
|
||||
])
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user