-
Notifications
You must be signed in to change notification settings - Fork 504
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
Feature Request: Optionally disable animation on ':navigateTo' prop #257
Comments
Hey @fikkatra, this functionality isn't currently supported but would likely be easy to engineer. I'll flag this as a feature request. I would envision navigateTo to simply take an optional display toggle, i.e
That's just the first thing that comes to mind, so if anyone has another idea feel free to submit a PR and I'll review right away :~) |
Just released @utkarshnag's feature for this! Going to close the issue, feel free to comment here if there are any questions |
It seems that though the implementation of the feature has been merged, the prop type of Can you please change it to |
Good call @cvetkovskin! Missed that in review, I'll make a fix later today |
@quinnlangille @ashleysimpson don't forget this one please ;) |
@quinnlangille @ashleysimpson Btw thank you for your work here! |
I'm looking for a way to initialize the carousel at a given page number. In my case, I want to show the last slide immediately when my component is loaded.
I've looked at the
navigateTo
property. This works, but it has the disadvantage that you see the animation: the carousel moves to the last page while sliding through all previous pages.Other things I tried:
The following does not work (currentPage is updated but the correct page isn't shown):
The following works, but it also shows the animation:
Related to this and this issue, but neither of them solved the problem.
The text was updated successfully, but these errors were encountered: