SaschaWillems / vulkan.gpuinfo.org

Front-End and Back-End for the Vulkan Hardware Database
https://vulkan.gpuinfo.org
GNU Affero General Public License v3.0
25 stars 5 forks source link

Enter surprisingly triggers compare #9

Closed krOoze closed 5 years ago

krOoze commented 6 years ago

Pressing Enter in any of the input fields triggers report compare. Considering the nature of the "form", that is surprising. And annoying, as sometimes I (unnecessarily but) instinctively press Enter after writing the search term into the column filter boxes.

It would be great if it was possible to disable Enter there.

SaschaWillems commented 5 years ago

This should be fixed. That's just how HTML forms works, enter triggers submit, but I'm now catching the enter key to suppress this behavior.