Remount Observer

The remount observer detects if gobi-stories were re-rendered in the DOM without Bubbles mounted. If so, it will apply Bubbles again.

On this page, a gobi-stories container is removed from it's parent and then re-added without Gobi Bubbles mounted. Afterwards, another container and it's parent are removed and re-added without Gobi Bubbles mounted.

In both cases, the Bubbles are recreated and display correctly.

This container is removed by itself and only needs it's parent element to be monitored.

This container is removed with it's parent and needs it's grandparent element to be monitored.