We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67c5e8d commit e587a82Copy full SHA for e587a82
src/css/layout/bounds.ts
@@ -20,8 +20,8 @@ export class Bounds {
20
const domRect = Array.from(domRectList).find((rect) => rect.width !== 0);
21
return domRect
22
? new Bounds(
23
- domRect.x + context.windowBounds.left,
24
- domRect.y + context.windowBounds.top,
+ domRect.left + context.windowBounds.left,
+ domRect.top + context.windowBounds.top,
25
domRect.width,
26
domRect.height
27
)
0 commit comments