SebastianBoldt / Jelly

🌊 - Jelly is a library for animated, non-interactive & interactive viewcontroller transitions and presentations with the focus on a simple and yet flexible API.
http://www.sebastianboldt.com/
MIT License
2.45k stars 121 forks source link

How to temporarily disable Canvas interaction? #81

Open AFKGr opened 3 years ago

AFKGr commented 3 years ago

Hey yall, I'm trying to achieve an effect where gestures do NOT trigger the transition in some situations. For example, I built a camera and photo library view like instagram's create story, where you can slide UP on the camera view to show the library, BUT, if you started to record video, you can just hold your finger and slide up to zoom in, this conflicts with the transition.

The outcome I want is for the animator to be TEMPORARILY disabled during video recording, i can easily implement a guard check for recording state, but I don't know which configuration to change for the Jelly transition. Any ideas?