Closed wildseansy closed 6 years ago
Thanks for your PR. We had a discussion on this in Issue #6.
I don't think blocking the tap is the best solution, and the root of this problem is how the whole animation-response-logic works. But this would mean changing a lot of things, so I'll gladly accept your changes as a hotfix for this issue.
Published as version 0.5.3
See https://github.com/timomeh/react-native-material-bottom-navigation/issues/32.
Clicking tabs fast makes them get into an infinite loop of switching. Easiest to repro on a real device. This just enforces a 1/2 sec time window before tabs can be switched again.