You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
In my project I need an animated items falling down the screen and user should be able to tap on it. I've used AnimationExperemental Library and animation runs perfect, but item does not respond to onPress event until animation is completed.
AnimationExperimental uses CoreAnimation and the animations occur in the presentation layer so this breaks hit detection. You can use it for static animations right now, but this api is deprecated and I'd recommend using react-tween-state until the new api is release (soon!).
Thanks you for fast response. I had the same thoughts but I was need a confirmation from expert. Is my understanding correct that react-tween-state will solve my problem and it will not block hit detection during the animation?
Hello!
In my project I need an animated items falling down the screen and user should be able to tap on it. I've used AnimationExperemental Library and animation runs perfect, but item does not respond to onPress event until animation is completed.
Item for animation is described as class:
Animation is called:
So, maybe I'm wrong in used way and there isa another way to make an item animated and responsible for onPress/tap/click events?
The text was updated successfully, but these errors were encountered: