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

We're now able to recalculate each element size before the next scroll handling. #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SudoPlz
Copy link

@SudoPlz SudoPlz commented Aug 21, 2016

  • Added the ability to recalculate each element sizes before the next scroll handling takes place.

All I have to do to make this work is call scrollSpy.recalculateElementSizes(); on my Did mount. Right after the scrollSpy.update(); as shown in the example.

@fisshy
Copy link
Owner

fisshy commented Aug 21, 2016

Why not use "isDynamic" instead? Isn't that exactly the same thing?

@SudoPlz
Copy link
Author

SudoPlz commented Aug 21, 2016

But isDynamic from what I understand, never turns off, doesn't that impact the performance?

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