Skip to content

offsetTop does not seem to be working. #18

@FelixHeber

Description

@FelixHeber

Maybe i am missing out on something, but i cannot get "offsetTop" to work.

I got two columns, left Column consists of Images, right Column consists of teasers. The Teasers Are using the scrollspy functionality.

Desired: The images inside of the left column should change on update and show the image of the active teaser.

So far so good everything works, but if i do want a small offset for the teasers. Nothing changes when i use "offsetTop={500}".
However, a negative "offsetBottom" works, but this is not what i need.

Can someone help me out? Thanks a lot.

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