-
-
Notifications
You must be signed in to change notification settings - Fork 51
.disconnect() breaks additional observe calls #104
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When I call .disconnect() on an observer, it prevents the observer from being used again. It won't throw any errors, but the resize events will not fire for anything added after calling disconnect.
The native implementation just clears the current list of observe targets, but then you can start observing again with the same instance. So I can use disconnect to clear all current observers, and then add new ones.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working