Skip to content

Commit

Permalink
fix(buttons): prevent events on disabled buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonferrua committed Oct 30, 2017
1 parent 138d0e9 commit e661ee8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/components/buttons/base/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@

&[disabled] {
color: $color-text-button-default-disabled;

* {
pointer-events: none;
}
}

&:hover,
Expand Down

0 comments on commit e661ee8

Please sign in to comment.