Open
Description
Hello!
I may be misunderstanding Tether.destroy
, but it only removes the zeroElement
and leaves the Tether.element
when I call it. (The zeroElement
is the first Tether-related line in this screenshot.)
I'm using Tether within a react component, so I'd like to remove all of the DOM nodes on componentWillUnmount
.
I've worked around this by calling Tether.element.remove
after destroy
:
this._tether.destroy();
this._tether.element.remove();
Is this the intended behavior?