Skip to content

Offset is calculated wrong in a certain case #230

@geralt-debugs

Description

@geralt-debugs

Describe the bug
When there is a lot of difference between the parentNode and the scroll Element, then the offset is calculated incorrectly. The space between the parentNode and the scroll Element is not taken into account

Expected behavior
The space between the parentNode and the scroll Element should be taken into account

Happens on every browser

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