1
0
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:
Joe Anderson
2024-01-24 14:05:16 +00:00
committed by GitHub
parent 8f2ad02db3
commit 54594d0f81
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fix: Calling `ReactEditor.focus` doesn't update `useFocused` when running in @testing-library/react