Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.

Re-enable parallax animation when switching page unanimated. #22

Merged

Conversation

BitKaitsu
Copy link
Contributor

Hi again. I noticed I inadvertently caused a minor bug that causes the parallax animation to not work when it should.

When opening a view using the pager and switching tabs by scrolling the content, the tab scroll view does not scroll along and stays in the same position. Touching the tabs re-enables the correct behaviour. This might only happen after calling SwitchPage for the view with the animated flag set to false.

I changed the condition for enabling/disabling parallax back to !animated, which it was before my previous changes. I thought the ! wasn't intentional which made me remove it. This commit restores it.

@Cheesebaron
Copy link
Owner

Thank you for your Pull Request, will have a look at it asap and give it a spin to test it.

@BitKaitsu
Copy link
Contributor Author

Have you had the time to test this yet?

@BitKaitsu
Copy link
Contributor Author

@Cheesebaron have you forgotten about this?

@Cheesebaron
Copy link
Owner

@BitKaitsu had totally forgotten about this. Will review today 👍

@Cheesebaron Cheesebaron merged commit 78c8f56 into Cheesebaron:master Oct 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants