devrelm / resize-observer

Other
98 stars 12 forks source link

Fix not being able to re-use an instance after disconnect #95

Closed thgreasi closed 3 years ago

thgreasi commented 3 years ago

Fixes v1.0.1 issue mentioned at https://github.com/pelotoncycle/resize-observer/pull/93#issuecomment-847165373

devrelm commented 3 years ago

@thgreasi I opened #96 as an alternative.

It does much of the same, but also adds tests and moves registering/deregistering ResizeObservers to functions outside of the class.

devrelm commented 3 years ago

@thgreasi This is now fixed with v1.0.2.

thgreasi commented 3 years ago

@devrelm nice burst of commits in this repo today :+1: