Checkbox and radio buttons : no cursor pointer on buttons hover
See original GitHub issueEnvironment
- OS : Win 10
- Browser : Firefox 65.0 / Chrome 72.0
Test case
Since version 4.3, when hovering the mouse pointer on a radio button within a button group (btn-group-toggle), there is no cursor pointer anymore. It worked with version 4.2.
The behaviour is the same with both examples in the documentation (group of 1 button / group of 3 buttons).
Reproducible within the documentation :
- v4.2 : https://getbootstrap.com/docs/4.2/components/buttons/#checkbox-and-radio-buttons 🆗
- v4.3 : https://getbootstrap.com/docs/4.3/components/buttons/#checkbox-and-radio-buttons 🐛
For information, I had this style enabled in version 4.2 with cursor: pointer
, but not anymore in version 4.3 :
.btn:not(:disabled):not(.disabled)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Should the cursor change to pointer over radio buttons ...
The pointer is especially useful when the element being clicked on doesn't change on mouse over. Default link styles in a web-browser don't ......
Read more >Buttons shouldn't have a hand cursor | by Adam Silver - Medium
There's a belief that the hand (pointer) cursor means clickable, but this is wrong and potentially problematic. The hand does not mean clickable....
Read more >Why does <button> not have a pointer cursor on hover by ...
First, I was wondering why I need to add cursor:pointer; for a hover effect on elements ...
Read more >Correct Cursor on Active Elements - Roman Komarov
Every active element must have a set cursor on hover. And it should be cursor:pointer in most cases. By active elements I mean...
Read more >styling a radio button list, especially the cursor - MSDN
On my machine this only makes the cursor change to pointer over the radiobutton, NOT over the label next to it (which when...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I agree with @ghusta that it seems a bit strange to say at the same time “things styled with the
btn
class shouldn’t have the hand cursor” and “<button>
elements should have the hand cursor”.It looks like both changes were made in the same PR - #27021 (here and here).
oh, interesting. maybe i’ve missed one of the iterations of the overall discussion (it’s been going back and forth for months/years). i’ll dig in and see why we now have this mismatch again…