patch drawer layout
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/node_modules/react-native-drawer-layout/lib/module/views/Drawer.native.js b/node_modules/react-native-drawer-layout/lib/module/views/Drawer.native.js
|
||||||
|
index efa71f9..24dbb68 100644
|
||||||
|
--- a/node_modules/react-native-drawer-layout/lib/module/views/Drawer.native.js
|
||||||
|
+++ b/node_modules/react-native-drawer-layout/lib/module/views/Drawer.native.js
|
||||||
|
@@ -171,6 +171,7 @@ export function Drawer({
|
||||||
|
}).onEnd((event, success) => {
|
||||||
|
'worklet';
|
||||||
|
|
||||||
|
+ translationX.value = startX.value + event.translationX;
|
||||||
|
gestureState.value = event.state;
|
||||||
|
if (!success) {
|
||||||
|
runOnJS(onGestureAbort)();
|
||||||
Reference in New Issue
Block a user