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

need a way to force position recalculation #108

Open
milesvdw opened this issue Aug 24, 2016 · 0 comments
Open

need a way to force position recalculation #108

milesvdw opened this issue Aug 24, 2016 · 0 comments

Comments

@milesvdw
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant