Skip to content

Commit 93c16e3

Browse files
fix: set injected Stagehand cursor position to fixed for correct viewport tracking (#121) (#122)
Co-authored-by: Akhil Mehta <[email protected]>
1 parent 511be19 commit 93c16e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stagehand/domScripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@
11011101
<rect x="12.5" y="13.6" transform="matrix(0.9221 -0.3871 0.3871 0.9221 -5.7605 6.5909)" width="2" height="8" fill="#000000"/>
11021102
</svg>
11031103
`;
1104-
cursor.style.position = 'absolute';
1104+
cursor.style.position = 'fixed';
11051105
cursor.style.top = '0';
11061106
cursor.style.left = '0';
11071107
cursor.style.width = '28px';

0 commit comments

Comments
 (0)