JSFiddle - React, Tailwind, and code Playground

HTML

<p>Open the select field and hover of an option, it will jump every two seconds :-/</p>
<select>
    <option>1</option>
    <option>2</option>
    <option>3</option>
    <option>4</option>
    <option>5</option>
    <option>6</option>
    <option>7</option>
    <option>8</option>
    <option>9</option>
    <option>10</option>
</select>

JavaScript

window.setInterval(function() {
   var cursor = jQuery('body').css('cursor');
       if(cursor == 'wait') {
           jQuery('body').css('cursor', 'auto');
       } else {
           jQuery('body').css('cursor', 'wait'); 
       }    
}, 2000);