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
Commit c608cdc
Browse filesBrowse the repository at this point in the historyBrowse files
Keep Android disabled-state resets scoped to core views
Clearing accessibilityState.disabled re-enabled every view whose
disabled state came from accessibility, so a TextInput with
editable={false} became editable again.
BaseViewManager now tracks and clears the accessibility disabled tag in
setViewState and calls the protected resetDisabledFromAccessibilityState
hook only when accessibility had disabled the view. The base hook does
nothing; ReactViewManager overrides it to re-enable the view, so core
views and their subclasses keep the Pressable fix while other managers
keep the enabled state they control.
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/src/test/java/com/facebook/react/views/textinput/ReactTextInputPropertyTest.kt
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -266,6 +266,20 @@ class ReactTextInputPropertyTest {
0 commit comments