Repository navigation
Commit 412fb0c
[General] Default GestureDetector moduleId to -1
Codegen's implicit Int32 default is 0, which is also the first
RNGestureHandlerModule id. Props 2.0 diffs CREATE against that default
and omits moduleId, so Android never calls setModuleId and the view
stays at -1. Looking up registries[-1] then crashes on child remove.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent bd85331 commit 412fb0c
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- packages/react-native-gesture-handler/src/specs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments