Skip to content
This repository was archived by the owner on Jan 24, 2019. It is now read-only.
This repository was archived by the owner on Jan 24, 2019. It is now read-only.

scrolling over ngScroll intermittently scrolls entire document when bottom of scroll 'page' is reached #239

Closed
@dukehoops-zz

Description

@dukehoops-zz

Playing around with demo @ http://angular-ui.github.io/ui-utils/ using Mac trackpad: the demo appears to append 10 more rows whenever content bottom approaches ng-scroll-viewport border. However at that moment, the entire document also scrolls a little bit.

Therefore, if user places a cursor over scroll-viewport and keeps scrolling south - even if slowly - every time bottom of a given data page is reached the entire web page is also scrolled down a little bit. Therefore user is forced to periodically 1) move the cursor outside scroll-viewport and 2) scroll page back up - to keep scroll-viewport within view

I think the desired behavior would be to not allow scrolling of web page at large as long as 1) cursor is within scroll-viewport AND b) data page bottom isn't close to viewport-bottom OR add'l data 'is-loading'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions