Skip to content

Commit 6a6b952

Browse files
committed
restoreSelection should be called with containerInfo
1 parent e545af8 commit 6a6b952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ export function afterActiveInstanceBlur(): void {
357357
}
358358

359359
export function resetAfterCommit(containerInfo: Container): void {
360-
restoreSelection(selectionInformation);
360+
restoreSelection(selectionInformation, containerInfo);
361361
ReactBrowserEventEmitterSetEnabled(eventsEnabled);
362362
eventsEnabled = null;
363363
selectionInformation = null;

0 commit comments

Comments
 (0)