JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" />

JavaScript

$('input').on('keydown', function(e) {
    if(e.ctrlKey && e.keyCode == 81) { // if Ctrl + Q
        $(this).blur();
    }
});