Skip to content

Commit e661ee8

Browse files
committed
fix(buttons): prevent events on disabled buttons
1 parent 138d0e9 commit e661ee8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ui/components/buttons/base/_index.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@
7575

7676
&[disabled] {
7777
color: $color-text-button-default-disabled;
78+
79+
* {
80+
pointer-events: none;
81+
}
7882
}
7983

8084
&:hover,

0 commit comments

Comments
 (0)