How to Prevent Opacity Change of Draggable in React Native?

378 Views Asked by At

How can i disable opacity change when i click on a Draggable in React Native? In documentation it just says this and it doesn't work enter image description here

and i couldn't find anything in Google

Here is what it does when i click

enter image description here enter image description here

But i want it to stay in the same color and opacity when i click on the Draggable. Is there any solution for that?

1

There are 1 best solutions below

1
On BEST ANSWER

I found the solution. I wrapped it with TouchableWithoutFeedback and it worked enter image description here