Bug Description
1. Summary
A Pressable that is mounted with disabled={true} never becomes focusable after it is re-rendered with
disabled={false}. D-pad navigation skips it, and programmatic focus (FocusManager.focus(ref)) is a
silent no-op for it (no error, no onFocus). The same Pressable mounted with disabled={false} from the
start is focusable as expected.
Pressable derives the native focusable prop from disabled:
focusable: focusable !== false && disabled !== true && ariaDisabled !== true && isTVSelectable !== false,
So the view is created with native focusable: false, and the later update to focusable: true does not
seem to be picked up by the focus engine.
Impact: any button that starts disabled and gets enabled by user input (e.g. a login form “Next” button
enabled once the user types an ID) becomes unreachable with the remote, which blocks the flow.
App Name: DTV
App Link on Amazon Appstore: <fill in>
Bug Severity
- Impacts operation of app
- Blocks current development
- Improvement suggestion
- Issue with documentation
- Other
2. Steps to Reproduce
- Render the snippet from section 7. The input is empty, so the
Pressablemounts withdisabled={true}. - Focus the
TextInputand type one character. ThePressablere-renders withdisabled={false}. - Close the on-screen keyboard and press D-pad Down to move focus to the
Pressable. - Alternatively, call
FocusManager.focus(ref)on thePressableref.
3. Observed Behavior
The Pressable never receives focus: "[repro] button onFocus" is never logged.
D-pad navigation skips the Pressable. FocusManager.focus(ref) returns without throwing,
but focus stays where it was.
JS logs confirm the re-render with disabled={false} happens.
4. Expected Behavior
After disabled changes from true to false, the Pressable becomes focusable, exactly like a
Pressable that was mounted with disabled={false}: D-pad navigation and FocusManager.focus(ref)
move focus to it and onFocus fires.
4.a Possible Root Cause & Temporary Workaround
Possible root cause: an update of the native `focusable` prop from false to true after mount
is not applied to the focus engine. Only the value present when the view is created seems to count.
What we verified:
- Same Pressable with disabled={false} from mount: focus works (control case).
- Toggling only disabled true -> false after mount: focus never works.
- Calling setNativeProps({ accessible: true, tabIndex: 0 }) after the flip does not restore
focusability either.
Temporary workarounds:
1. Do not pass `disabled` to Pressable; block the press in JS instead.
2. Remount the Pressable when `disabled` changes, e.g. key={String(disabled)}, so the native view
is created with the correct `focusable` value.
5. Logs or crash report
Not a crash. Device logs attached: <attach device log capture>. They show the re-render with
disabled: false, then FocusManager.focus completing without error, and no onFocus for the
Pressable.
6. Environment
-
SDK Version: Active SDK Version 0.24.9914, Vega CLI Version 1.2.22
-
React Native Version: RN0.83 (
react-native0.83.0,@amazon-devices/react-native-kepler4.0.1+rn0.83.0,react19.2.3) -
App State: Foreground
-
Device: Fire TV Stick (Vega OS), armv7 debug build
-
OS Information:
NAME="OS" OE_VERSION="4.0.0" OS_MAJOR_VERSION="2" OS_MINOR_VERSION="0" RELEASE_ID="26" OS_VERSION="2.0" BRANCH_CODE="TV Ship" BUILD_DESC="OS 2.0 (TV Ship/515)" BUILD_FINGERPRINT="4.0.512374.0(3072cab629675a74)/515N:user/release-keys" BUILD_VARIANT="user" BUILD_TAGS="release-keys" BUILD_DATE="Fri Oct 02 22:31:28 UTC 2026" BUILD_TIMESTAMP="1790980288" VERSION_NUMBER="2602000051520"
7. Example Code Snippet / Screenshots / Screengrabs
import { useState } from 'react';
import { Pressable, Text, TextInput, View } from 'react-native';
export const Repro = () => {
const [value, setValue] = useState('');
return (
<View>
<TextInput value={value} onChangeText={setValue} placeholder="Type something" />
<Pressable
disabled={value.length === 0}
onFocus={() => console.log('[repro] button onFocus')}
onBlur={() => console.log('[repro] button onBlur')}
onPress={() => console.log('[repro] button onPress')}
>
<Text>Next</Text>
</Pressable>
</View>
);
};
Control case (works): replace disabled={value.length === 0} with disabled={false}.
Playback Issues
N/A
Additional Context
The issue appeared while upgrading our app to Vega SDK 0.24. The same screen focused the button
correctly before the upgrade. <confirm the previous SDK version that worked>