stephenscaff / react-animated-cursor

An animated custom cursor React component.
ISC License
273 stars 28 forks source link

Cursor is not detecting mobile applications accurately. #64

Closed nico-k3 closed 3 months ago

nico-k3 commented 5 months ago

Hi! As the current solution for detecting a touch device is not really reliable and there are media queries like (hover:none) or (pointer: coarse) available, I would like to implement a better solution to activate / deactivate the cursor.

Currently I have to build a workaround on sites where I use this package, but I think this should be implemented into the core.

I will probably create a Pull Request shortly to make it happen.

stephenscaff commented 3 months ago

Approved your PR. Thanks for that. Will publish in a sec.