hossein-zare / react-native-dropdown-picker

A single / multiple, categorizable, customizable, localizable and searchable item picker (drop-down) component for react native which supports both Android & iOS.
https://hossein-zare.github.io/react-native-dropdown-picker-website/
MIT License
970 stars 294 forks source link

Disable dropdown press animation #624

Closed JatB01 closed 1 year ago

JatB01 commented 1 year ago

Hi all,

I can't seem to find the prop or method to disable the touchable opacity fade animation on the dropdown container. Every time I click it has a fade animation that I want to remove.

Any way to achieve this?

JatB01 commented 1 year ago

Nevermind, I found the solution by adding:

props={{activeOpacity: 1}} to the DropDownPicker component. This passes down to the TouchableOpacity render

ryansherby commented 1 week ago

Just wanted to let you know you're awesome for discovering this