Commit 32fc04e
committed
Add missing bind methods for gesture responder.
Somehow the context is getting dropped *some of the time*, so that
`this` becomes undefined inside `onResponderGrant`. Binding the
methods to the instance fixes the issue.
It's unclear how it's only happening some of the time -- usually
binding issues will become immediate apparent with React -- so my
best guess is there's some detail inside the React Native system
where the context can be dropped.1 parent c671f00 commit 32fc04e
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
0 commit comments