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.
package/dist/index.js CHANGED
@@ -3974,8 +3974,10 @@ var Editable = function Editable(props) {
3974
3974
  if (ReactEditor.hasSelectableTarget(editor, event.target)) {
3975
3975
  var _androidInputManagerR3;
3976
3976
  if (ReactEditor.isComposing(editor)) {
3977
- setIsComposing(false);
3978
- IS_COMPOSING.set(editor, false);
3977
+ Promise.resolve(function () {
3978
+ setIsComposing(false);
3979
+ IS_COMPOSING.set(editor, false);
3980
+ });
3979
3981
  }
3980
3982
  (_androidInputManagerR3 = androidInputManagerRef.current) === null || _androidInputManagerR3 === void 0 || _androidInputManagerR3.handleCompositionEnd(event);
3981
3983
  if (isEventHandled(event, attributes.onCompositionEnd) || IS_ANDROID) {