question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Firefox, external submit doesn't prevent defaults and reload the page

See original GitHub issue

Are 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:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
erikrascommented, Apr 18, 2018

See https://github.com/facebook/react/issues/12639 for workaround details for Firefox.

0reactions
lock[bot]commented, Apr 18, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found