downshift icon indicating copy to clipboard operation
downshift copied to clipboard

useSelect: make event handlers work with react native

Open silviuaavram opened this issue 5 years ago • 0 comments

getToggleProps should have onPress instead of onClick / onKeyDown, in the case of ReactNative.

Basically it should have similar conditions found on the getter props in downshift.js.

Same for other applicable events.

silviuaavram avatar Nov 14 '19 16:11 silviuaavram