diff --git a/src/components/popup/popup.component.ts b/src/components/popup/popup.component.ts index d724fa1c..f5955807 100644 --- a/src/components/popup/popup.component.ts +++ b/src/components/popup/popup.component.ts @@ -14,7 +14,12 @@ export interface VirtualElement { } function isVirtualElement(e: unknown): e is VirtualElement { - return e !== null && typeof e === 'object' && 'getBoundingClientRect' in e && ('contextElement' in e ? e instanceof Element : true); + return ( + e !== null && + typeof e === 'object' && + 'getBoundingClientRect' in e && + ('contextElement' in e ? e instanceof Element : true) + ); } /**