Skip to content

Bugs when page height changes #569

@kannafay

Description

@kannafay

I have found that when the height of a webpage changes, the location of the trigger will change, and even using sync() can cause bugs

This is a normal situation:

bug.mp4

This is the effect of using ScrollReveal().sync()

bug

bug-sync.mp4

I don't know what's wrong. I trigger ScrollReveal().sync() when I click collapse panel, but it seems that something's wrong with it

Environment

  • Operating System: Windows 11
  • Browser Version: Google Chrome 121.0.6167.189
  • ScrollReveal Version: v4.0.9

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