[Web] Separate Reanimated from JS#3683
Conversation
e6644be to
88e36fa
Compare
There was a problem hiding this comment.
I can see that in your example, if you use both Animated.Event as onUpdate and touch events, you get the following error:
Uncaught Invariant Violation: Bad event of type undefined for key handlerData
Followed by:
Uncaught TypeError: Cannot read properties of undefined (reading 'translationX')
Could you investigate that?
Edit: This seems to be the culprit 😅
Thank you! Great catch, It took me a while as I couldn't replicate the error -> it only occurs on chrome. I did not notice that I needed to have attached a condition on where to send the cancel event. I think the error might have been there ever since this PR. It is fixed as of c9c856f. |
j-piasecki
left a comment
There was a problem hiding this comment.
LGTM (after you include @m-bert's suggestions)
Description
Web portion of functionality from PR #3682
Test plan