csstools / sanitize.css

A best-practices CSS foundation
https://csstools.github.io/sanitize.css
Creative Commons Zero v1.0 Universal
5.21k stars 314 forks source link

Text cursor not showing on paragraphs #232

Open davidwarrington opened 2 years ago

davidwarrington commented 2 years ago

I have no clue if this was intentional, but I'm not seeing a text cursor where I'd usually expect to such as on paragraph elements.

Disabling this seems to fix it but it will no doubt be overriding other intentional changes:

:where(:root) {
  cursor: default;
}

It's happening for me in these browsers:

podrivo commented 3 weeks ago

Hello! I recently came across this and it got me thinking about it.

I understand the stated objetive Cursors only change to hint non-obvious interfaces, but it feels really weird navigating text that doesn't change the cursor. Somehow the usability is not the same for users.

In my context, users find useful to copy/paste text to be used elsewhere, but I'm not sure this is entirely clear for users when the cursor doesn't change. Sure, we can manually add a new line of code that overlaps this behavior, but it would be much better to have this updated in the root.

Would be really good to have other chime in on this! 😃 Thank you!