mattgallagher92 / safe-consequences

A SAFE stack app for playing consequences, the classic pen-and-paper game
1 stars 0 forks source link

Wrapping text inputs in form tags causes weird behaviour #15

Open mattgallagher92 opened 3 years ago

mattgallagher92 commented 3 years ago

I wanted to do this so I could press enter from within a form field and have the form submit.

The first I submit my name the page sends me back to the landing view. The second time the transition happens as normal.

Not sure if it's related, but the URL in the address bar changes from http://localhost:8080/# before being sent back to the landing view to http://localhost:8080/?# after being sent to it.

GIF of issue

form-issue