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 isCloseToStart #2

Conversation

hkellou-vitalcare
Copy link
Contributor

This should fix Issue #1 since it was comparing the width + offset, when it should actually compare just the offset to the initialSpacing. This should work properly and trigger onStartReached callback on react-native-gifted-charts

@Abhinandan-Kushwaha Abhinandan-Kushwaha merged commit 5b12dac into Abhinandan-Kushwaha:main Jan 23, 2024
@Abhinandan-Kushwaha
Copy link
Owner

Thanks for the PR @hkellou-vitalcare
I've merged it.

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