Skip to content

Commit f3ea175

Browse files
authored
Fix dimmed buttons (TouchableOpacity) not reseting to active (#681)
1 parent fdcd064 commit f3ea175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/touchableOpacity/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class TouchableOpacity extends PureComponent {
5858
const {disabled} = this.props;
5959
return {
6060
accessibilityRole: 'button',
61-
accessibilityStates: disabled ? ['disabled'] : undefined
61+
accessibilityStates: disabled ? ['disabled'] : []
6262
};
6363
}
6464

0 commit comments

Comments
 (0)