Closed bakura10 closed 3 years ago
You're absolutely right it should be pageYOffset
. Thanks for fixing this! I will go ahead and merge your PR. I will also publish a new version on NPM.
Thanks a lot :)
@bakura10
Just wanted to let you know I published a new version on npm that includes your changes. The npm package is called split-type now.
Thanks again for the contribution!
Really appreciate it, thanks ;)
Using pageXoffset and pageYoffset (with the o not capitalized) returned undefined (at least on Chrome) so it constantly scrolls to the top. Can this be merged and a new version being tagged on NPM?