Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

feat: support reanimated v3 #14

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

alantoa
Copy link
Owner

@alantoa alantoa commented Apr 10, 2023

No description provided.

@khlling
Copy link
Collaborator

khlling commented Jul 23, 2023

Hey @alantoa, are you still working on this? Need a hand with this?

@@ -546,16 +547,16 @@ const VideoPlayer = forwardRef<VideoPlayerRef, VideoProps>(
}
if (x < leftDoubleTapBoundary) {
doubleLeftOpacity.value = 1;
rippleLeft.current?.onPress({ x, y });
// rippleLeft.current?.onPress({ x, y });
runOnJS(seekByStep)(true);
Copy link

@bkensey bkensey Aug 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm trying to do some work to figure this out too and this line and the corresponding rippleRight call at line 556 is the issue. We clearly aren't doing any actual assignment here, but we are assigning an onPress function in ripple.tsx on line 61 via useImperativeHandle. I think something here is getting read as an assignment to the (non mutable) refObjects that that the ripple refs are created as. Working on trying to understand what could be going on here. My intuition is that this is less of a react-native-reanimated issue and more of a react/typescript issue. Any thoughts?

@alecdewitz
Copy link

Would love to know what's left to do here 🙏

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants