sanity-io / ui

UI building blocks for Sanity.

Home Page:https://sanity.io/ui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cursor pointer missing on some elements

ricokahler opened this issue · comments

Hopefully, this is a quick one, but I noticed some elements don't have cursor: pointer.

So far I've seen this missing from the button, menu, and checkbox elements.

Hey @ricokahler – that’s actually a feature :-)

It’s a long discussion, and there are not really any good arguments for/against in this thread (except maybe the “don't make me think” argument):
https://ux.stackexchange.com/questions/105024/why-dont-button-html-elements-have-a-css-cursor-pointer-by-default

Sanity UI attempts to be OS-like (similar to Figma or Google Drive), and behave more like an application than a website. So only elements that have href="..." will get a cursor: pointer, since that is the system default.

I’m open to good arguments for/against, tho!

ah makes sense. i opened this since i myself frequently forget this one but i guess i'm just projecting haha

all good to me!