mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-29 09:59:48 +02:00
Fix useFocused
not updated when calling ReactEditor.focus
(#5593)
This commit is contained in:
5
.changeset/shiny-numbers-matter.md
Normal file
5
.changeset/shiny-numbers-matter.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fix: Calling `ReactEditor.focus` doesn't update `useFocused` when running in @testing-library/react
|
Reference in New Issue
Block a user