JSFiddle - React, Tailwind, and code Playground

by epinapala

HTML

<input id="target" type="text" />

JavaScript

$(document).keydown(function(e) { if (e.keyCode == 8) $('#target').focus(); });