diff --git a/packages/roosterjs-content-model-core/lib/command/paste/mergePasteContent.ts b/packages/roosterjs-content-model-core/lib/command/paste/mergePasteContent.ts index 9cd3302ad4b..55f2374297a 100644 --- a/packages/roosterjs-content-model-core/lib/command/paste/mergePasteContent.ts +++ b/packages/roosterjs-content-model-core/lib/command/paste/mergePasteContent.ts @@ -94,7 +94,7 @@ export function mergePasteContent( { changeSource: ChangeSource.Paste, getChangeData: () => clipboardData, - scrollCaretIntoView: true, + scrollCaretIntoView: false, // TODO #2633: Make a full fix to the scroll behavior apiName: 'paste', } ); diff --git a/packages/roosterjs-content-model-plugins/lib/edit/keyboardDelete.ts b/packages/roosterjs-content-model-plugins/lib/edit/keyboardDelete.ts index 44c73db93aa..a16c45bc9b0 100644 --- a/packages/roosterjs-content-model-plugins/lib/edit/keyboardDelete.ts +++ b/packages/roosterjs-content-model-plugins/lib/edit/keyboardDelete.ts @@ -49,7 +49,7 @@ export function keyboardDelete(editor: IEditor, rawEvent: KeyboardEvent) { rawEvent, changeSource: ChangeSource.Keyboard, getChangeData: () => rawEvent.which, - scrollCaretIntoView: true, + scrollCaretIntoView: false, // TODO #2633: Make a full fix to the scroll behavior apiName: rawEvent.key == 'Delete' ? 'handleDeleteKey' : 'handleBackspaceKey', } ); diff --git a/packages/roosterjs-content-model-plugins/lib/edit/keyboardInput.ts b/packages/roosterjs-content-model-plugins/lib/edit/keyboardInput.ts index 91ecf99647e..36a9a0b894d 100644 --- a/packages/roosterjs-content-model-plugins/lib/edit/keyboardInput.ts +++ b/packages/roosterjs-content-model-plugins/lib/edit/keyboardInput.ts @@ -36,7 +36,7 @@ export function keyboardInput(editor: IEditor, rawEvent: KeyboardEvent) { } }, { - scrollCaretIntoView: true, + scrollCaretIntoView: false, // TODO #2633: Make a full fix to the scroll behavior rawEvent, } ); diff --git a/versions.json b/versions.json index c21bb46201f..67a77bc531f 100644 --- a/versions.json +++ b/versions.json @@ -1,6 +1,6 @@ { "legacy": "8.62.0", "react": "8.56.0", - "main": "9.3.0", + "main": "9.3.1", "legacyAdapter": "8.62.0" }