ZenithLai Posted April 19, 2021 Share Posted April 19, 2021 Hi, I'm trying to add button on each section. I realise that the "Section 1" button unable to click, "Section 2" able to click. Do you guys have any idea on how i should write on the code part ? Appreciate if you can advice See the Pen VwPGPYv by zenithlai (@zenithlai) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted April 19, 2021 Share Posted April 19, 2021 That's just a stacking thing in the DOM - you've got another element sitting on TOP of that one which is intercepting pointer events. I noticed you're animating autoAlpha of the child "article", but I'd just do that to the parent element instead so that it has visibility: hidden (and thus doesn't intercept pointer events): See the Pen 32928a1da17fee8e1ae202de4d0d4189?editors=0010 by GreenSock (@GreenSock) on CodePen Is that what you were looking for? 1 Link to comment Share on other sites More sharing options...
ZenithLai Posted April 21, 2021 Author Share Posted April 21, 2021 It is work! Very helpful. Thanks a lot. 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