JSFiddle - React, Tailwind, and code Playground
HTML
<form action="www.google.com">
<div class="notoffscreen">
<span class="offscreen">
<input class="offscreen" type="submit">
</span>
</div>
</form>
CSS
.offscreen {
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;
}
.notoffscreen {
z-index:1;
}