vue-intersect icon indicating copy to clipboard operation
vue-intersect copied to clipboard

fixed: handle dynamically loaded components

Open ulcuber opened this issue 3 years ago • 0 comments

Fixes errors like: Argument 1 ('target') to IntersectionObserver.observe must be an instance of Element TypeError: Failed to execute 'observe' on 'IntersectionObserver': parameter 1 is not of type 'Element'

Occurs because vNode.isComment is true during loading of dynamic component (no observable element yet available, only displayName = #comment)

ulcuber avatar Aug 26 '22 15:08 ulcuber