slate-react 0.101.3 → 0.101.5

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,7 +3974,7 @@ var Editable = function Editable(props) {
3974
3974
  if (ReactEditor.hasSelectableTarget(editor, event.target)) {
3975
3975
  var _androidInputManagerR3;
3976
3976
  if (ReactEditor.isComposing(editor)) {
3977
- Promise.resolve(function () {
3977
+ Promise.resolve().then(function () {
3978
3978
  setIsComposing(false);
3979
3979
  IS_COMPOSING.set(editor, false);
3980
3980
  });