Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selected color stays on first index #31

Open
Vaintti opened this issue Oct 4, 2019 · 1 comment
Open

Selected color stays on first index #31

Vaintti opened this issue Oct 4, 2019 · 1 comment

Comments

@Vaintti
Copy link

Vaintti commented Oct 4, 2019

When I select an index by pressing on the element the line will move but all selected item stuff (like currentSelectedCenterColor) stay on the first index. Only setting index programmatically works but it causes "willSelectItemAtIndex" to trigger so I cannot use it in "willSelectItemAtIndex"

@Vaintti
Copy link
Author

Vaintti commented Oct 4, 2019

Also I am using this with paged UIScrollView and I want to trigger progress bar change (by setting currentIndex) when I manually scroll to next page but that causes "willSelectItemAtIndex" to trigger and that is unwanted (since it contains scrollToPage function)

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

No branches or pull requests

1 participant