replace DomRect = null with new DomRect() in vTooltip

This commit is contained in:
geoffrey45 authored and Mungai Njoroge committed 2023-01-13 18:13:49 +03:00
1 parent 09453fc419
commit 8fe99a9b44
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ let store: any;
// @ts-ignore
const virtualEl = {
getBoundingClientRect: () => null,
getBoundingClientRect: () => new DOMRect(),
} as VirtualElement;
const getTooltip = () => document.getElementById("tooltip") as HTMLElement;