Files
react-native/Libraries
Zack GomezandLorenzo Sciandra 79b33118ea 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-11-26 16:34:14 +00:00
..
2018-05-10 19:10:38 -07:00
2018-07-19 19:02:13 -07:00
2018-06-06 05:32:06 -07:00
2018-11-13 15:07:04 +00:00
2018-10-19 15:45:17 +01:00
2018-11-07 10:06:45 +00:00
2018-05-10 19:10:38 -07:00
2018-05-10 19:10:38 -07:00
2018-07-31 21:01:41 -07:00
2018-09-11 16:11:16 -07:00
2018-08-13 21:38:57 +01:00
2018-03-08 12:10:14 -08:00
2018-05-10 19:10:38 -07:00