1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-30 18:39:51 +02:00

fix: default scroll selection (#4652)

* fix: default scroll selection

* feat: use Range.isCollapsed to check the selection

* chore: add changeset

* fix: grammer correction

* fix: grammer correction
This commit is contained in:
Karthikeyan
2021-11-16 14:51:14 +05:30
committed by GitHub
parent 7d9d25e179
commit 95389ed7b0
2 changed files with 18 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
---
'slate-react': patch
---
Disabled the auto scroll behaviour when the editor has any active selection