We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a34a57a commit de5ffe6Copy full SHA for de5ffe6
packages/react-grab/src/utils/element-at-point-index.ts
@@ -47,6 +47,7 @@ export const buildElementAtPointIndex = (): void => {
47
const boundingRect = entry.boundingClientRect;
48
if (boundingRect.width === 0 || boundingRect.height === 0) continue;
49
if (!isValidGrabbableElement(targetElement)) continue;
50
+ if (getComputedStyle(targetElement).position === "fixed") continue;
51
52
accumulatedElements.push({
53
element: targetElement,
0 commit comments