JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text">
JavaScript
window.onkeydown = function(e){
if((e.ctrlKey || e.altKey) && e.keyCode == 'F'.charCodeAt(0)){
e.preventDefault();
// Comment out this last one...
alert('Ctrl+F');
}
}