Are you submitting a bug report or a feature request?
Bug report
What is the current behavior?
Example repo: https://codesandbox.io/s/dreamy-goodall-cvy9c?file=/index.js
Seems that, if handleSubmit returns Promis<void> without causing an async tick, submission gets stuck in submitting: true state.
What is the expected behavior?
Shouldn't be stuck in submitting; should briefly be submitting: true then switch back to false
Sandbox Link
https://codesandbox.io/s/dreamy-goodall-cvy9c?file=/index.js
What's your environment?
Latest final-form/rff
Other information
Hey Erik! 👋 I'll try to dig in at root cause. I have some free time :)
Are you submitting a bug report or a feature request?
Bug report
What is the current behavior?
Example repo: https://codesandbox.io/s/dreamy-goodall-cvy9c?file=/index.js
Seems that, if
handleSubmitreturnsPromis<void>without causing an async tick, submission gets stuck insubmitting: truestate.What is the expected behavior?
Shouldn't be stuck in submitting; should briefly be
submitting: truethen switch back to falseSandbox Link
https://codesandbox.io/s/dreamy-goodall-cvy9c?file=/index.js
What's your environment?
Latest final-form/rff
Other information
Hey Erik! 👋 I'll try to dig in at root cause. I have some free time :)