Skip to content

Commit d9e9751

Browse files
committed
chore: fix cursor test
1 parent 3b4ff6b commit d9e9751

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/super-editor/src/core/presentation-editor/remote-cursors/RemoteCursorRendering.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ function renderRemoteCaret(options: {
279279
caretEl.style.borderLeft = `${options.cursorStyles.CARET_WIDTH}px solid ${color}`;
280280
caretEl.style.pointerEvents = 'none';
281281
caretEl.style.transition = 'opacity 100ms ease-out';
282+
caretEl.style.willChange = 'transform';
282283
caretEl.setAttribute('data-client-id', options.cursor.clientId.toString());
283284
caretEl.setAttribute('aria-hidden', 'true');
284285

0 commit comments

Comments
 (0)