Commit e566b99
authored
[ios] Force going through begin in state manager (#3979)
## Description
The state manager was not functioning correctly on iOS because the state
change from begin to activate did not go through begin.
`handleStateChange` doesn't call `handleGesture` for activate directly
as it bypasses gesture interaction system. Instead it relies on the
activate gesture being called from reset.
It worked previously, but after commit
c6051ca introduced a direct check in
`handleGesture` to determine whether it was invoked from reset. As a
result, manually handled gestures were never activated.
## Test plan
Tested on the StateManager example.1 parent 495db78 commit e566b99
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
228 | 232 | | |
229 | 233 | | |
230 | 234 | | |
| |||
0 commit comments