Skip to content

Commit

Permalink
fix: grammer correction
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikcodes6 committed Nov 15, 2021
1 parent e69e1f3 commit 7efec9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/slate-react/src/components/editable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 7efec9b

Please sign in to comment.