react-native-horizontal-picker icon indicating copy to clipboard operation
react-native-horizontal-picker copied to clipboard

Don't override the private functions with props

Open birdwell opened this issue 3 years ago • 1 comments

With the spreading of props on the scroll view, the internal event listeners are overridden and the props take priority. That breaks the picker. The prop event handlers are already called within the internal event handlers. Extracting them off props before spreading will prevent them from overriding the internals while still being called as intended.

birdwell avatar May 13 '21 12:05 birdwell

@vdor could you look at this please?

birdwell avatar Aug 21 '21 20:08 birdwell