marouanekadiri/Accordion-Collapse-react-native

How to set activeOpacity?

Doosra-App opened this issue · 8 comments

How to set activeOpacity?

Any specific case/ example to base the discussion on?

@marouanekadiri For example, on a product detail page.
We want to have multiple sections with the product detail, care section and etc, when user clicks on one section, that section should open the content of it, there is no reason to give a touche feedback additionally. In that case, having option to set active opacity or option to turn off the feedback will be helpful.

Indeed. We don't have that option right now. I'll work on adding it in the next release.

Any updates? I am looking forward to update for change activeOpacity

@olgakozich, I was wondering if adding a prop e.g. touchableOpacityProps would help in this case.

+1

I need to specify the active opacity because it's way too dark right now

+1

i also need this feature to set the activeOpacity to "1"
@marouanekadiri i could also create a small pr for that depending on if you just want to change activeOpacity via prop or passing an object with all touchableOpacity props to make it even more customizable

@f1sh1918 :shot:
touchableOpacityProps would work i think.