Commit 703fd3a
authored
Fix ripple effect staying after cancellation (#2586)
## Description
Sometimes when our `Button` (like `BaseButton`) is cancelled, it gets stuck at ripple animation. This may also prevent other components form receiving events, until the button will be pressed again (which will release it). This PR changes behavior after receiving `ACTION_CANCEL`, so that buttons don't get stuck anymore.
Fixes #2585
## Test plan
Tested on example from [issue](#2585) and `NestedButtons` example from our example app.1 parent 8c41b09 commit 703fd3a
File tree
1 file changed
+1
-0
lines changed- android/src/main/java/com/swmansion/gesturehandler/react
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| |||
0 commit comments