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
..
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-08-18 22:19:34 -07:00
2018-08-24 14:04:09 -07:00
2018-05-10 19:10:38 -07:00
2018-06-19 23:48:12 -07:00
2018-05-10 19:10:38 -07:00
2018-05-10 19:10:38 -07:00
2018-08-30 09:33:05 -07:00
2018-08-24 14:04:09 -07:00
2018-08-09 10:47:58 -07:00
2018-03-08 12:10:14 -08:00
2018-05-10 19:10:38 -07:00