Closed soleysok closed 3 years ago
Thanks for filing this issue! Can you describe a bit more about what you'd like to accomplish? I think my assumption writing that guard statement was that tapping on the active index should short-circuit, since the roller should already be in its target destination.
But I certainly could be remembering this incorrectly.
When the index is active, it doesn't give the onTap the index so I can't refresh the ui. What I want to do is to be able to get the index even if the index is already active. Thank you!
@craiglabenz For Example, on the newsfeed screen of the Facebook app, when you tap on the newsfeed tab(when it is already active) it will refresh the screen to its original state. But since the onTap function doesn't return the tap index when the index is already active, I can't refresh the state.
I think this is the cause. Could you help me out on this by creating another option to solve this problem