1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-29 01:50:06 +02:00

Check if editor is still mounted before trying to focus (#5916)

* Check if editor is still mounted before trying to focus

* Add changeset

---------

Co-authored-by: Raffael Wannenmacher <raffael.wannenmacher@tx.group>
This commit is contained in:
Raffael
2025-07-11 01:31:24 +02:00
committed by GitHub
parent ef76eb46e0
commit f2ea1e1e3a
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
'slate-dom': patch
---
Do not retry focusing editor after it has been unmounted