Skip to content

Common Issues

Leighton Sapir edited this page Nov 10, 2020 · 5 revisions

1. Why does a modal close when I press Enter in an input?

When you click on the Enter key, the form will try to submit if there is a button somewhere without the proper type declaration. To fix this problem make sure you include type="button" to any button that won't work as "submit".

Clone this wiki locally