Commit 8428d24
authored
## Description
Fixes the `LegacyPressable` on iOS getting stuck due to an unhandled
`NATIVE_START` event. Updates the non-legacy implementation to also
dispatch the `NATIVE_START`, which is now expected by the state machine.
## Test plan
|Before|After|
|-|-|
|<video
src="https://github.com/user-attachments/assets/7e7476f1-0d61-40d9-9c13-4f157b050bb6"
/>|<video
src="https://github.com/user-attachments/assets/11e3b42b-e9b9-4b4f-a8cb-6dc9f20e2001"
/>|
1 parent 8dc38eb commit 8428d24
2 files changed
Lines changed: 4 additions & 1 deletion
File tree
- packages/react-native-gesture-handler/src
- components/Pressable
- v3/components
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| |||
0 commit comments