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

Should didSelectItem method be called before selection? #617

Closed
Bartson opened this issue Dec 21, 2021 · 3 comments
Closed

Should didSelectItem method be called before selection? #617

Bartson opened this issue Dec 21, 2021 · 3 comments

Comments

@Bartson
Copy link

Bartson commented Dec 21, 2021

Hi,
I have a doubt if the didSelectItem method should be called before the actual selection. This is most evident when the selection with animation is selected. ViewController is assigned as selected after the animation is over. Interestingly, this situation did not always look this way. Is there a method that fires after the actual selection?

@Bartson
Copy link
Author

Bartson commented Dec 21, 2021

What's more, the didScrollToItem method should ensure that when it is called, the selectedViewController is set to the latest. But it is not

@nooraja
Copy link

nooraja commented Feb 18, 2022

hey man, i got the same problem about didSelect,
any i idea about this problem @Bartson ?

@rechsteiner
Copy link
Owner

Hey! Sorry for the long wait. This should be fixed now in the 4.0 branch (#676).

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

3 participants