JSFiddle - React, Tailwind, and code Playground
HTML
<input type=text value="tttt">
<input type=button id=tt value=ok>
JavaScript
$('#tt').click(function(){console.log('c');});
$('body').append($('<div style="opacity:0; z-index:10; position:fixed; top:0; left:0; right:0; bottom:0">'));