Firefox, external submit doesn't prevent defaults and reload the page
See original GitHub issueAre you submitting a bug report or a feature request?
Bug report
What is the current behavior?
Form is submitted and page is reloaded on Firefox. Tested on version 58.0.2, Mac.
What is the expected behavior?
Form not be submitted and stays where is is without reloading the page.
Sandbox Link
Example straight from the docs. https://codesandbox.io/s/1y7noyrlmq
What’s your environment?
Bug is present in final form version 4.2.1, React-final-form 1.2.1, Firefox 58.0.2, Mac os.
Other information
Make sure you click on button External Submit via <code>document.getElementById()</code>
to reproduce the bug.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Firefox Page auto refresh is disabled, how do I enable it?
I can't find a tab in settings/options which will allow the page to reload/refresh. I am running Windows 7. Any ideas?
Read more >submit on radio change + prevent page reload, not working in ...
I want to submit an HTML form when a radio button gets checked, where the submit event calls a JS function to prevent...
Read more >Web Browsers and Preview | IntelliJ IDEA Documentation
From the Reload page in browser and Reload page in built-in preview lists, select the actions that will trigger automatic reload of pages...
Read more >Firefox - ArchWiki
If your default language choice does not stick, see #Firefox does not remember ... To prevent pages from abusing memory (and possible OOM), ......
Read more >How to do Hard Refresh in Chrome, Firefox, Edge and Mac's ...
Once the chrome dev tools are open, just right click on the refresh button and a menu will drop down. This menu gives...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
See https://github.com/facebook/react/issues/12639 for workaround details for Firefox.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.