JungHsuan / react-native-gesture-flip-card

A card flipping animation component using gesture for react-native.
MIT License
154 stars 8 forks source link

The value `touchEvent.locationX` equals NaN or INF and will be replaced by `0`. #18

Open amwebexpert opened 2 years ago

amwebexpert commented 2 years ago

💘 Very nice lib and thanks for sharing it! ❤️

Do you think it be possible to fix console.warn messages when reaching 90deg while dragging? Produced warning at 90deg:

Same apply also for touchEvent.locationY

JungHsuan commented 2 years ago

Yes! I believe that is possible. I will manage to fix this problem soon. Thanks for your comment.

Stevemoretz commented 2 years ago

Yes! I believe that is possible. I will manage to fix this problem soon. Thanks for your comment.

Hi I have the same issue (not using your library) have you created an issue on reanimated yet?

Andre-at-LaCapitale commented 2 years ago

Hi I have the same issue (not using your library) have you created an issue on reanimated yet?

@Stevemoretz this lib does not uses react-native-reanimated dependency (it only depends directly on react-native)

Stevemoretz commented 2 years ago

Hi I have the same issue (not using your library) have you created an issue on reanimated yet?

@Stevemoretz this lib does not uses react-native-reanimated dependency (it only depends directly on react-native)

Oh sorry! Sounds like a rn core issue then because I'm getting the exact problem on -90 or 90 with react-native-reanimated

JungHsuan commented 2 years ago

Sorry for my delay. I've just published version 1.0.6 to fix this problem. Please let me know if you have further questions. Thanks!

Stevemoretz commented 2 years ago

Thank you ignoring the log is fine for now , but it's better to create an issue on Facebook react native repository if there isn't one yet? I forgot to create one