Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opacity change mismatch between image and text on TouchableOpacity onPress #15878

Closed
sospedra opened this issue Sep 9, 2017 · 2 comments
Closed
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@sospedra
Copy link

sospedra commented Sep 9, 2017

Is this a bug report?

I think so

Have you read the Contributing Guidelines?

Yup

Environment

  1. react-native -v: 0.47
  2. node -v: 8.0.0
  3. npm -v: 5.0.0
  4. yarn --version: 1.0.0

Then, specify:

  • Target Platform: Android
  • Development Operating System: macOS
  • Build tools: expo 20

Steps to Reproduce

  1. Place an image inside a TouchableOpacity (or TouchableNativeFeedback)
  2. Match image and button background colors
  3. Add any other component
  4. Press it on Android device

Expected Behavior

Same background colors. Just like an ios device does.

Actual Behavior

You'll notice different background colors for the Image and the rest of the button.

Android

droid

iOs

ios

Reproducible Demo

Here's a simple demo: https://snack.expo.io/H1pMmY-cZ

@hramos hramos changed the title Apply same touchable effect to Image on Android Opacity change mismatch between image and text on TouchableOpacity onPress Sep 11, 2017
@sospedra
Copy link
Author

☹️

@stale
Copy link

stale bot commented Nov 26, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Nov 26, 2017
@stale stale bot closed this as completed Dec 3, 2017
@facebook facebook locked and limited conversation to collaborators May 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

1 participant