menuspy icon indicating copy to clipboard operation
menuspy copied to clipboard

Greensock pin (seems to be) conflicting with MenuSpy – any suggestions?

Open scallemang opened this issue 4 years ago • 0 comments

Hi there,

When I pin a section using gsap, I believe it's causing MenuSpy to have trouble calculating when an ID hits the top of the viewport.

Here's a minimal codepen demo: https://codepen.io/scallemang/pen/NWgaNVv. As you'll see, once we hit the 'Pinned 1' section, following sections become active earlier than they should.

Do you have any suggestions on how I could resolve this? Thank you so much in advance.

scallemang avatar Sep 15 '21 10:09 scallemang