e.preventDefault() from the inner I13nButton can not stop the parent's <form> submit in 3.x,
the behavior is different from the 2.x version, please help to verify if it's a bug or a breaking change, thanks.
Not pretty sure, but the issue seems to relate to the PR #391
e.preventDefault() from the inner I13nButton can not stop the parent's
<form>submit in 3.x,the behavior is different from the 2.x version, please help to verify if it's a bug or a breaking change, thanks.
2.x demo: https://codesandbox.io/s/exciting-ramanujan-9tqhik?file=/src/App.js
-> click the button then the form
notbe submitted toyahoo.com3.x demo: https://codesandbox.io/s/flamboyant-tu-kiv5lc?file=/src/App.js
-> Click the button then the form be submitted to
yahoo.comNot pretty sure, but the issue seems to relate to the PR #391