Issue 1459: Replace onClick handler in Dropdown component to onMouseDown (#1521)
parent
6fd1421143
commit
736f23eaa5
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue