material-components / material-components-web

Modular and customizable Material Design UI components for the web
https://material.io/develop/web
MIT License
17.11k stars 2.15k forks source link

[formfield] Radio button and checkbox lost cursor: pointer #8187

Open calebegg opened 1 month ago

calebegg commented 1 month ago

Prior to https://github.com/material-components/material-components-web/commit/4b35cb7d05ac0abf313963370ee2f4b20456df45, radio button and checkbox labels had cursor: pointer (or maybe cursor: default, I can't remember). Now they inherit cursor: text, and it's not obvious that when clicking them they will select the checkbox or radio button. This contradicts the style of a regular <label> and <input type="checkbox"> as seen here

This does not seem desirable. I think the change should be reverted.