Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
amwebexpert opened this issue Oct 2, 2021 · 6 comments

Comments

@amwebexpert
Copy link

amwebexpert commented Oct 2, 2021

💘 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:

  • The value 'touchEvent.locationX' equals NaN or INF and will be replaced by '0'.

Same apply also for touchEvent.locationY

@JungHsuan
Copy link
Owner

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

@Stevemoretz
Copy link

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
Copy link

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
Copy link

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
Copy link
Owner

JungHsuan commented Mar 16, 2022

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
Copy link

Stevemoretz commented Mar 16, 2022

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

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

No branches or pull requests

4 participants