slate-react 0.101.2 → 0.101.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5334,8 +5334,10 @@
5334
5334
  if (ReactEditor.hasSelectableTarget(editor, event.target)) {
5335
5335
  var _androidInputManagerR3;
5336
5336
  if (ReactEditor.isComposing(editor)) {
5337
- setIsComposing(false);
5338
- IS_COMPOSING.set(editor, false);
5337
+ Promise.resolve(function () {
5338
+ setIsComposing(false);
5339
+ IS_COMPOSING.set(editor, false);
5340
+ });
5339
5341
  }
5340
5342
  (_androidInputManagerR3 = androidInputManagerRef.current) === null || _androidInputManagerR3 === void 0 || _androidInputManagerR3.handleCompositionEnd(event);
5341
5343
  if (isEventHandled(event, attributes.onCompositionEnd) || IS_ANDROID) {