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 NaN on mount #1193

Merged
merged 1 commit into from
Jun 22, 2020
Merged

fix NaN on mount #1193

merged 1 commit into from
Jun 22, 2020

Conversation

mschipperheyn
Copy link
Contributor

Is it a bugfix ?

Is it a new feature ?

  • Yes or no ? No
  • Include documentation, demo GIF if applicable

Describe what you've done:

Ensured that updateIndex does not result in a NaN when you scrollTo or scrollBy on mount

How to test it ?

scrollTo or scrollBy on mount using a ref to the component
old version: nothing happens
new version: works

@ArrayZoneYour ArrayZoneYour merged commit bdf2539 into leecade:master Jun 22, 2020
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