Bannernow Posted September 21, 2022 Share Posted September 21, 2022 Hi, I'm doing a 3d cube slider using draggable. The problem is that each slide is an iframe and I need to register clicks inside of each iframe (instead of a global Draggable.onClick event). Is it possible to enable click propagation for the child iframe? Thanks in advance! See the Pen zYjdELz by bannernow (@bannernow) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted September 22, 2022 Share Posted September 22, 2022 If I understand your question correctly, I don't think that's possible simply due to how browsers work (security restrictions in iframes, event bubbling, the fact that the Draggable functionality would necessitate intercepting the pointer/mouse, etc.). I could be wrong. I don't think this is really a GSAP/Draggable question which is what we really try to focus on in these forums. If you discover a way to do it, please report back here in case it could help others. 👍 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now