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

fix[ios]: change selectedIndex with transformer break design #33

Merged

Conversation

vallemar
Copy link
Contributor

@farfromrefug Now when you scroll to an item with a width/height other than 100% and have a custom transformer the item is centered vertically or horizontally on the screen.

Reference: https://stackoverflow.com/a/53798708/6015400

Close: #31

Note: I don't know why it is worth 1 and 0 but it is working for horizontal and vertical pagers

@farfromrefug
Copy link
Member

@vallemar great find. Could just add a comment explaining a bit maybe with the stackoverflow link?

@vallemar
Copy link
Contributor Author

@farfromrefug comment added!

@farfromrefug farfromrefug merged commit b6a1d77 into master Mar 27, 2023
@vallemar
Copy link
Contributor Author

vallemar commented Apr 6, 2023

@farfromrefug can you publish a versión with this change?

@farfromrefug
Copy link
Member

@vallemar I think I just did as posted that message . can you confirm?

@vallemar
Copy link
Contributor Author

vallemar commented Apr 6, 2023

Ohh yes @farfromrefug, this change is incluyed on last release. Thanks!

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.

[ios] custom transition error when change selectedIndex manually
2 participants