Chrome rotates the cursor to the default value instead of the pointer when links hang after the mouseup event, which returns false

Maybe I missed something because this thing is strange. Here is the code:

$(document).ready(function() { $(document).mouseup(function(){ return false; }); }) 
 <a href="">qagq3gq343</a> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"> </script> 

It just returns false in the mouseup event. But what he does in Chrome is that when hovering over links after the mouseup event, the default cursor is not a pointer.

You can play it above by running the fragment and then clicking within the fragment not on the link, and then move the cursor on the link.

Any ideas?

+6
source share
1 answer

It seems that the only solution is css one:

 a, a:hover, a:active, a:visited { cursor: pointer !important; } 
0
source

All Articles