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

Smoothen opacity on iOS Touchable #65

Open
donni106 opened this issue Jun 22, 2020 · 1 comment
Open

Smoothen opacity on iOS Touchable #65

donni106 opened this issue Jun 22, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@donni106
Copy link
Member

donni106 commented Jun 22, 2020

The TouchableOpacity for iOS can be smoothen with the following prop activeOpacity={0.8}:

https://github.com/ikuseiGmbH/smart-village-app-app/blob/8f00c148db1ceef86b278975db472e986611321e/src/components/Touchable.js#L5

We already used this in https://github.com/ikuseiGmbH/smart-village-app-app/pull/62/files#diff-c419682ce198e95c29ad105c84adf7dbR24. This makes the element, which is touched, less transparent and smoothens the effect.

Maybe this can also be used for our Button?

@donni106
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants