react-native/Libraries/Components/View
Zack Gomez 5eaa2d29c0 Fix inability to remove 'Disabled' state from AccessibilityStates
Summary:
D8842691 split AccessibilityTraits into multiple RN properties.  However, the accessor code did not support REMOVING traits.
This results in buttons that were disabled (AccessibilityTraits & NotEnabled === true) never being enabled.

Fix the issue by making the split accessors properly mask in the bits, allowing you unset them without disturbing bits managed by the other accessor.

NOTE: setting AccessibilityTraits and AccessibilityRole or AccessibilityStates will still result in bugs.

Reviewed By: shergin

Differential Revision: D9661970

fbshipit-source-id: 77d70dd0754f2eaf8cbf895bfc13757c697a76d8
2018-09-07 10:26:19 -07:00
..
DeprecatedViewPropTypes.js Deprecate View prop-type definitions 2018-08-22 18:31:36 -07:00
PlatformViewPropTypes.js Adding flow strict local to remaining possible files in xplat/JS 2018-08-09 08:54:44 -07:00
ReactNativeStyleAttributes.js Prettier React Native Libraries 2018-05-10 19:10:38 -07:00
ReactNativeViewAttributes.js Add accessibilityHint for iOS (#18093) 2018-07-25 17:47:42 -07:00
ShadowPropTypesIOS.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
View.js RN: Reduce ForwardRef(View) Noise in Systrace 2018-08-22 17:49:32 -07:00
ViewAccessibility.js Fix inability to remove 'Disabled' state from AccessibilityStates 2018-09-07 10:26:19 -07:00
ViewNativeComponent.js Remove view configs from JS 2018-08-24 14:04:09 -07:00
ViewPropTypes.js RN: Improve ViewPropTypes 2018-08-29 17:49:24 -07:00
ViewStylePropTypes.js Back out "[react-native][PR] Make Flow and PropType types checks consistent for view style props." 2018-08-23 11:34:26 -07:00