alsoscotland / react-super-select

MIT License
95 stars 33 forks source link

clicking an option highlights it, need an extra click to select #96

Closed conor909 closed 7 years ago

conor909 commented 7 years ago

When the dropdown is open, it seems when I click on a option it highlights it. I then need an extra click to selected it. Can I remove this extra click?

<Select
    initialValue={ selectedObject }
    clearable={ false }
    dataSource={ options }
    optionLabelKey="label"
    optionValueKey="value"
    onChange={ selected => onSelect(selected.value) }
    forceDefaultBrowserScrolling={true} />
alsoscotland commented 7 years ago

@conor909 I have not seen this behavior. Can you tell me what browser or device you are seeing this in?

conor909 commented 7 years ago

So I believe this was an error with my redux cycle, the value wasn't being passed down from props properly.

Thanks anyway