Skip to content

Commit 8258b93

Browse files
committed
Add will-change-transform to YouCursor
1 parent 99ef9b7 commit 8258b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/app/(home)/components/collaboration/collaboration.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function YouCursor({ cursorRef, visible }: YouCursorProps) {
132132
<div
133133
ref={cursorRef}
134134
aria-hidden='true'
135-
className={`pointer-events-none fixed top-0 left-0 z-50 transition-transform ${visible ? '' : 'hidden'}`}
135+
className={`pointer-events-none fixed top-0 left-0 z-50 will-change-transform transition-transform ${visible ? '' : 'hidden'}`}
136136
>
137137
<svg width='23.15' height='21.1' viewBox='0 0 17.5 16.4' fill='none'>
138138
<path d={CURSOR_ARROW_MIRRORED_PATH} fill='#33C482' />

0 commit comments

Comments
 (0)