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.

`formAction` successPath not respecting browser history

See original GitHub issue

If you visit the Custom Response example, then click on the Redirect example, and submit the form, you will be redirected to the /success page

However, if you then click the “Back” button in your browser, you are taken to the Custom Response example (instead of the Redirect example)

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
danielweinmanncommented, Jun 17, 2022

Thank you guys for your contribution!

1reaction
NhielSalvanacommented, Jun 14, 2022

@brunocrosier here https://github.com/SeasonedSoftware/remix-forms-site

@sobrinho If you’re referring to me. I still don’t know why they opted for the default behavior of having onSubmit replace the browser stack, they might have future plans and designed it that way to pave way for that. So I’ll wait for the author to be back before opening a PR 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to do "HTML FORM action=location.replace('nextpage ...
I tried the "randomnum" solution, but (I believe) this only prevents a server-cached page from being displayed: It does not prevent a browser...
Read more >
CSP: form-action - HTTP - MDN Web Docs - Mozilla
The HTTP Content-Security-Policy (CSP) form-action directive restricts the URLs which can be used as the target of form submissions from a ...
Read more >
"formaction" | Can I use... Support tables for HTML5, CSS3, etc
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >
Developing Web Applications - Oracle Help Center
After clicking the. Action View tab near the bottom of the window, the IDE initially displays all the actions defined in the page...
Read more >
Learn HTML5 & CSS3 by phruek chanthaweesub - Issuu
I just started a project using HTML5, and I would not have felt confident without ... the Geolocation API and learn how to...
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