Skip to content

Cannot Run Twice When Elements Added/Removed From Page #3

Description

@joeytheman

FloatingFixed was throwing an error if the element was removed from the page because the scroll method was not unbinding. I edited my fork to unbind if windowScroll throws an error (ie the element is removed from the page) which works as expected but when I try to run floatingFixed again, it throws another error because I believe it is still looking for the removed element.

I would really like to utilize your plugin and am open to any suggestions on getting this working correctly when elements are added and removed from a page(ie backbone.js application).

Thx

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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