Skip to content
This repository was archived by the owner on Dec 15, 2018. It is now read-only.
This repository was archived by the owner on Dec 15, 2018. It is now read-only.

need a way to force position recalculation #108

@milesvdw

Description

@milesvdw

When using angular, it would be fantastic to be able to use fixedsticky() on an element, then forget about the fixedsticky api and instead use ng-hide or ng-show bindings in order to control the visibility of the sticky menu. Unfortunately, this leads to some unfortunate behavior because while the sticky is hidden (but not 'destroy'ed it doesn't calculate position quite correctly.

Is there a function in your api to force a positional recalculation? If not, would you be receptive to a pull requests which adds a simple feature along those lines?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions