I have a 3rd party component that relies on a document.getElementById
call to find a DOM node in my components onMount
function.
Works great with the normal transition, until I switch to an outIn
transition, then my components onMount
fires, but the DOM node doesn't exist yet, so the 3rd party component blows up.
I don't know exactly how it would look, but it would be great if there was a way to detect if the onMount
was actually mounted and the DOM was ready, or if the component is floating around outside of the DOM in the transitions pretend onMount
.