Create out-of-reference div with resizeObserver