Skip to content

Commit

Permalink
fix(speed-dial): disable onclick when mouseactiosn are enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Mollweide committed Jun 27, 2018
1 parent 9838021 commit 361c8ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/speed-dial/speed-dial.js
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ class SpeedDial extends React.Component {
const classNames = [className];

const btnProps = Object.assign({}, floatingActionButtonProps, {
onClick: handleClick,
onClick: enableMouseActions ? undefined : handleClick,
});

if (isInTransition && classNameInTransition) {
Expand Down

0 comments on commit 361c8ee

Please sign in to comment.