如何防止 React Native 中 Draggable 的不透明度变化?

How to Prevent Opacity Change of Draggable in React Native?

当我在 React Native 中点击 Draggable 时,如何禁用不透明度变化?在文档中它只是说这个并且它不起作用

我在 Google

中找不到任何内容

这是我点击时的效果

但我希望它在我单击 Draggable 时保持相同的颜色和不透明度。有解决办法吗?

我找到了解决方案。我用 TouchableWithoutFeedback 包装它并且它有效