Skip to content

Commit 09d5711

Browse files
authored
fix(rating): disabled rating should not allow pointer events
A disabled rating component only changes the cursor but still allows for pointer events (for example when used inside a card.
1 parent c952da3 commit 09d5711

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/definitions/modules/rating.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ each(@colors, {
138138
/* disabled rating */
139139
.ui.disabled.rating .icon {
140140
cursor: default;
141+
pointer-events: none;
141142
}
142143
}
143144

0 commit comments

Comments
 (0)