JSFiddle - React, Tailwind, and code Playground

HTML

<form>
    <input type="text" class="test" />
    <br>
    <input type="button" class="test" value="click" />
    <br>
    <input type="number" class="test" value="30" />
    <br><br>
    <input type="submit" class="test"/>
</form>

CSS

body {height: 400%; width: 100%; position: absolute;}

JavaScript

console.log(jQuery.event)

$(".test").on(Object.keys(jQuery.event.fixHooks).join(" "), function(e) { e.preventDefault(); });