开发者

js/css changing cursor

开发者 https://www.devze.com 2023-01-06 03:20 出处:网络
I\'m using css/js to change the class of an element which the pointer is hoving over. The开发者_开发问答 class determines the custom cursor image.

I'm using css/js to change the class of an element which the pointer is hoving over. The开发者_开发问答 class determines the custom cursor image.

Unfortunately, it seems as if the cursor does not update in Chrome unless I physically move the mouse. Unfortunately the app is primarily used through the keyboard, however the cursor image is pretty important.

Any way around this?

Thanks.


This is actually a documented bug in Chrome and Safari. See this question on StackOverflow:

Getting the browser cursor from "wait" to "auto" without the user moving the mouse

I think you're out of luck for now, sorry

0

精彩评论

暂无评论...
验证码 换一张
取 消