I am trying to use the cursor utility, my code is as following:
<button className="border-8 cursor-pointer bg-primary w-max flex gap-2 text-white py-4 px-6 text-2xl font-semibold">
See Music Plans
<ArrowUpRight className="w-8 h-8" />
</button>
But the cursor only changes when hovered over the absolute edges, but doesn't when I move inside it.
I also checked the documentation(https://tailwindcss.com/docs/cursor), it has the same issue.
Additionally, I checked it out in the playground, it has the same issue https://play.tailwindcss.com/wjr3eqOnsc
I looked further into the issue and it seems like the cursor change doesn't work even though I apply vanilla CSS to change it. After looking into the issue a bit, I was convinced that it had nothing to with tailwind but the issue lies in the browser I guess. I check the MDN docs: https://developer.mozilla.org/en-US/docs/Web/CSS/cursor
I found out a weird behaviour the default cursor changes when the cursor is first place in the area, and then scrolled without moving the cursor. If I move the cursor even by a bit, it changes to default. Have any of you faced this before? Also, I am on macOS. How do I fix this issue?
EDIT: I am using macOS Sequoia version 15.6. I checked on Chrome Version 138.0.7204.184 and Safari Version 18.6