Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Fix for issue #518 where scrollTop returns a decimal rather than an integer #519

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jontsnz
Copy link

@jontsnz jontsnz commented Dec 13, 2016

Hi Daniel,

This fixes the problem where scrollTop is a decimal rather than the expected integer, which stops the virtualPageSelect from fetching the next 10 page numbers. Here's a console debug showing the problem before it is fixed:

scrolltop is decimal not integer

Rounding the scrollTop fixes the problem.

Thanks, John

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

Successfully merging this pull request may close these issues.

None yet

1 participant