You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TouchableOpacity does not let you control opacity when disabled prop changes #17105
changed the title [-]`TouchableOpacity` does not change let you control opacity when `disabled` prop is changes[/-][+]`TouchableOpacity` does not change let you control opacity when `disabled` prop changes[/+]on Dec 7, 2017
changed the title [-]`TouchableOpacity` does not change let you control opacity when `disabled` prop changes[/-][+]`TouchableOpacity` does not let you control opacity when `disabled` prop changes[/+]on Dec 7, 2017
@maxkomarychev It seems the problem is not solved so far. But I found the solution. You just need to
pass your {isDisabled?styles.disabled:styles.enabled} style to the Text wrapper (to the View).
Activity
[-]`TouchableOpacity` does not change let you control opacity when `disabled` prop is changes[/-][+]`TouchableOpacity` does not change let you control opacity when `disabled` prop changes[/+][-]`TouchableOpacity` does not change let you control opacity when `disabled` prop changes[/-][+]`TouchableOpacity` does not let you control opacity when `disabled` prop changes[/+]afilp commentedon Dec 31, 2017
I confirm that, I hope it can be fixed soon. Thanks!
maxkomarychev commentedon Jan 3, 2018
as a matter of fact I have provided fix for this, however no comments from maintainers for a month.. #17106
Update opacity when `disabled` prop is changed
Update opacity when `disabled` prop is changed
DavitVosk commentedon Mar 21, 2018
@maxkomarychev It seems the problem is not solved so far. But I found the solution. You just need to
pass your {isDisabled?styles.disabled:styles.enabled} style to the Text wrapper (to the View).
Hope this will help more people to save time