Skip to content

go back to previous route #1023

Answered by gilbarbara
ZeeshanMustfai asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @ZeeshanMustfai

It's impossible to know without seeing the code, but you should probably consider this scenario in your callback.
If the ACTION is prev, subtract from the currentIndex instead.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gilbarbara
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants