HTML `<button>` not submitting form when used with `<form>` target attribute in Chrome 116
I'm sure I'm missing something obvious here, but I'm converting an old project and I've run into a question where a `<button>` element inside a `<form>` is not submitting the form as expected when I set the `target` attribute on the form to open the result in a new tab..... I'm currently using Chrome 116, and this behavior seems inconsistent compared to how it works in Firefox. Hereβs a basic structure of my form: ```html <form action='https://example.com/submit' method='post' target='_blank'> <input type='text' name='username' required /> <button type='submit'>Submit</button> </form> ``` When I click the submit button, nothing happens in Chrome. I don't see any console errors, but the form data just doesn't get sent. However, if I remove the `target` attribute, the form submits without any issues. I've also tried using an `<input type='submit'>` instead of a `<button>`, but I get the same result. I've double-checked that the form's action URL is correct and that I'm not blocking pop-ups, as I know that can sometimes interfere with the new tab behavior. Can anyone explain why the button isn't submitting the form with the `target` set, or how I might work around this scenario? Any suggestions would be greatly appreciated! For context: I'm using Html on Windows. How would you solve this? My development environment is Ubuntu. I'd really appreciate any guidance on this. The project is a mobile app built with Html. I'm working in a Windows 11 environment. Thanks for taking the time to read this! This is happening in both development and production on Windows 10. Is this even possible?