Issue 1459: Replace onClick handler in Dropdown component to onMouseDown (#1521)

old
Patrick Torpey 2017-08-02 12:27:14 -04:00 committed by Javi Velasco
parent 6fd1421143
commit 736f23eaa5
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ const factory = (Input) => {
<li
key={idx}
className={className}
onClick={!item.disabled && this.handleSelect.bind(this, item[valueKey])}
onMouseDown={!item.disabled && this.handleSelect.bind(this, item[valueKey])}
>
{this.props.template ? this.props.template(item) : item[labelKey]}
</li>