Closed
Description
Describe the bug
If I have both onBlur and onEnter set to Action.Submit, then I get this error in the Console:
"Uncaught (in promise) DOMException: Failed to execute 'replaceWith' on 'Element': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler? at malle.js:110:23"
onBlur seems to work either way.
But if I change onBlur to Action.Ignore, then onEnter works as expected.
Should it not allow both onBlur and onEnter to use Action.Submit ??
Information
- malle version: 2.5.2
- Client operating system (e.g: MacOS, Windows, GNU+Linux): macos
- Browser (e.g. firefox, chrome): chrome