From 7efec9ba6dc7206e92c60e39e198ae628233e62b Mon Sep 17 00:00:00 2001 From: Karthikeyan Umapathi Date: Mon, 15 Nov 2021 15:54:38 +0530 Subject: [PATCH] fix: grammer correction --- packages/slate-react/src/components/editable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/slate-react/src/components/editable.tsx b/packages/slate-react/src/components/editable.tsx index 2e0ad3fe7b..a0c7438d29 100644 --- a/packages/slate-react/src/components/editable.tsx +++ b/packages/slate-react/src/components/editable.tsx @@ -1327,7 +1327,7 @@ const defaultScrollSelectionIntoView = ( domRange: DOMRange ) => { // This was affecting the selection of multiple blocks and dragging behavior, - // so enabled only if the selection is collapsed. + // so enabled only if the selection has been collapsed. if ( !editor.selection || (editor.selection && Range.isCollapsed(editor.selection))