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

fix(formfield): Change cursor style on label to `inherit` rather than `auto` to adopt customization. #8185

Closed copybara-service[bot] closed 2 months ago

copybara-service[bot] commented 2 months ago

fix(formfield): Change cursor style on label to inherit rather than auto to adopt customization.

radio button labels are interactive elements that users can click to select an option. To enhance the user experience and maintain uniformity across the interface, developers may want to customize the cursor appearance when the mouse hovers over the label. By setting the cursor style to inherit, developers gain the flexibility to modify the cursor style as needed, ensuring a consistent and visually appealing user interface.