JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/dot-luv/jquery-ui.css">
<a href="#" class="hover">Custom Attributes</a>
    <div class="slideDiv">                            
1<br>2<br>3<br>4
    </div>
<a href="#" class="hover">Custom Attributes</a>
    <div class="slideDiv">                            
1<br>2<br>3<br>4<br>5<br>6<br>7
    </div>
<a href="#" class="hover">Custom Attributes</a>
    <div class="slideDiv">                            
1<br>2<br>3<br>4<br>5<br>6
    </div>

JavaScript

jQuery(function() {
    jQuery('.slideDiv').hide().data('over', false);
    jQuery('.hover').hover(function() {
      jQuery('.slideDiv').fadeIn();
    }, function() {
      // Check if mouse did not go over .dialog before hiding it again
      var timeOut = setTimeout(function() {
        if (!jQuery('.slideDiv').data('over')) {
          jQuery('.slideDiv').fadeOut();
          clearTimeout(timeOut);
        }
      }, 100);
    });
 
    // Set data for filtering on mouse events for #hover-here
    jQuery('.slideDiv').hover(function() {
      jQuery(this).data('over', true);
    }, function() {
      jQuery(this).fadeOut().data('over', false);
    });
});