packages/dom/src/utils/getDocumentRect.ts
Function getDocumentRect
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function getDocumentRect(element: HTMLElement): Rect {
const html = getDocumentElement(element);
const scroll = getNodeScroll(element);
const body = element.ownerDocument.body;
- Create a ticketCreate a ticket