Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow user to pass "isInteraction" anim config #185
By default RN animations are considered "interactions". This means during a dropdown alert animation, all InteractionManager.runAfterInteraction() callbacks will be suspended until animation completion.
This PR allows to set isInteraction=false from props and disable this behavior. In my usecase I'd like to avoid delaying the callbacks when a dropdown is animating.
This PR should be retrocompatible (isInteraction=true is default) for users and enable my usecase.
@@ Coverage Diff @@ ## master #185 +/- ## ========================================= Coverage ? 71.12% ========================================= Files ? 11 Lines ? 187 Branches ? 0 ========================================= Hits ? 133 Misses ? 54 Partials ? 0