Skip to content

Commit

Permalink
fix(components): prevent interactions on disabled Selector (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer authored Oct 15, 2019
1 parent d0bad70 commit 119e83e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Selector/Selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const disabledStyles = ({ disabled, theme }) =>
label: selector--disabled;
color: ${theme.colors.n500};
cursor: default;
pointer-events: none;
`;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ exports[`Selector should render a disabled selector appropriately 1`] = `
margin-bottom: 16px;
color: #9DA7B1;
cursor: default;
pointer-events: none;
}
.circuit-0:hover {
Expand Down

0 comments on commit 119e83e

Please sign in to comment.