Skip to content

Fix getEndLocation: Wrong max. scroll position#83

Open
qbasic16 wants to merge 1 commit into
d-oliveros:masterfrom
qbasic16:master
Open

Fix getEndLocation: Wrong max. scroll position#83
qbasic16 wants to merge 1 commit into
d-oliveros:masterfrom
qbasic16:master

Conversation

@qbasic16

Copy link
Copy Markdown

If element location is at the bottom and withing the last window height, then we have to set end location to the highest possible and valid scroll position.
This fixes the problem that animated scrolls are abruptly stopped because the location was higher than the latest possible scroll location.

If element location is at the bottom and withing the last window height, then we have to set end location to the highest possible and valid scroll position.
This fixes the problem that animated scrolls are abruptedly stopped because the location was higher than the latest possible scroll location.
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.

1 participant