You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Functions like removeNode have had restoreSelection built-in for years now. removeFromParent or their callers should do the same.
Currently, you can call insertBefore, trigger a node removal and the selection won't be recomputed which can lead to an invalid selection, see the referenced PR.
The text was updated successfully, but these errors were encountered:
Functions like
removeNode
have had restoreSelection built-in for years now.removeFromParent
or their callers should do the same.Currently, you can call
insertBefore
, trigger a node removal and the selection won't be recomputed which can lead to an invalid selection, see the referenced PR.The text was updated successfully, but these errors were encountered: