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

fix: prevent thumbValue to be NaN #72

Merged
merged 1 commit into from
May 8, 2024
Merged

Conversation

Mlobaievskyi
Copy link
Contributor

@Mlobaievskyi Mlobaievskyi commented May 8, 2024

After update react-native-reanimated to lates varsion (3.11.0) react-native-awesome-slider started to crash because thumbValue sometimes can be NaN.

Added check if data is also NaN other then undefined only
Screenshot 2024-05-08 at 13 58 53

@Mlobaievskyi Mlobaievskyi changed the title fix: prevent thumbValue to be NaN and crash component fix: prevent thumbValue to be NaN May 8, 2024
@alantoa
Copy link
Owner

alantoa commented May 8, 2024

@Mlobaievskyi thanks!

@alantoa alantoa merged commit f4c0feb into alantoa:main May 8, 2024
0 of 4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants