Skip to content

Commit

Permalink
Use onClick, cause onSelect not trigger when item is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Aug 24, 2015
1 parent bfd7499 commit 77ec018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DropdownPanel.jsx
Expand Up @@ -36,7 +36,7 @@ const Panel = React.createClass({
return (<Menu
ref="menu"
style={props.dropdownMenuStyle}
onSelect={props.onMenuSelect}
onClick={props.onMenuSelect}
defaultActiveFirst={true}
activeKey={activeKey}
multiple={props.isMultipleOrTags}
Expand Down

0 comments on commit 77ec018

Please sign in to comment.