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

Experiment with updating scroll position upon heigh updates #367

Closed
cramforce opened this issue Sep 30, 2015 · 0 comments
Closed

Experiment with updating scroll position upon heigh updates #367

cramforce opened this issue Sep 30, 2015 · 0 comments

Comments

@cramforce
Copy link
Member

Height updates only allowed in vsync.

  • Measure doc length before vsync, measure doc length after.
  • If changed
    • If min(updated elements top position) > bottom of viewport: Do nothing
    • If element is in viewport, do nothing?
    • If bottom of updated element is above viewport, increase scrolltop by height delta.

CC @dvoytenko

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

No branches or pull requests

3 participants