Skip to content

Add force flag - in case of later change of height #270

@leomayer

Description

@leomayer

I have the situation that the content fits at the time when the query is attached fits perfectly into the container. Therefore it is ignored ...

I have an accordion in my content. If I open it the height changes significantly and then the sticky element should kick in. Therefore I would suggest to add an force flag. This flag should grant that the content could be attached anyway. The check should be:

 if (!force || height === parent_height) {
        return;
      }

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