Skip to content

Fix #1816: ScrollViewPaginator partial transition#1823

Open
mairatma wants to merge 1 commit into
yui:dev-masterfrom
mairatma:fix-1816
Open

Fix #1816: ScrollViewPaginator partial transition#1823
mairatma wants to merge 1 commit into
yui:dev-masterfrom
mairatma:fix-1816

Conversation

@mairatma

Copy link
Copy Markdown
Contributor

This is fixing the issue described in #1816, which causes diagonal flicks to change the paginator's index even though the image showing up is not updated.
To fix this I'm just adding one more check to _beforeHostFlick to ignore flicks that don't happen in the specified flick axis. This is the default behavior of scrollview-base, but paginator-plugin prevents it and runs its own code, so we need the check there as well.

This is fixing the issue described in yui#1816, which causes diagonal flicks to change the paginator's index even though the image showing up is not updated.
To fix this I'm just adding one more check to _beforeHostFlick to ignore flicks that don't happen in the specified flick axis. This is the default behavior of scrollview-base, but paginator-plugin prevents it and runs its own code, so we need the check there as well.
@yahoocla

Copy link
Copy Markdown

CLA is valid!

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.

2 participants