Jump to content
Search Community

GSAP pin sidebar with button not working

ZenithLai test
Moderator Tag

Recommended Posts

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? 

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...