JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" value="Кликни сюда">
<div>Я выпадающий блок</div>

CSS

div {
    display: none;
    background: silver;
    height: 200px;
    width: 200px;
}

JavaScript

$('input').bind({
  focusin: function() {
    $('div').css('display', 'block');
  },
  focusout: function() {
    $('div').css('display', 'none');
  }
});