Skip to content

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

@scallemang

Description

@scallemang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions