Pressable mounted with `disabled={true}` never becomes focusable after `disabled` flips to `false`

:backhand_index_pointing_right: 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

  1. Render the snippet from section 7. The input is empty, so the Pressable mounts with disabled={true}.
  2. Focus the TextInput and type one character. The Pressable re-renders with disabled={false}.
  3. Close the on-screen keyboard and press D-pad Down to move focus to the Pressable.
  4. Alternatively, call FocusManager.focus(ref) on the Pressable ref.

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-native 0.83.0, @amazon-devices/react-native-kepler 4.0.1+rn0.83.0, react 19.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}.


:backhand_index_pointing_right: Playback Issues

N/A

:backhand_index_pointing_right: 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>

Hi @DVD,

Thanks for the detailed report - the control case, the step-by-step repro, and the environment details are exactly what we need.

I’m escalating this to the engineering team to investigate why a Pressable that mounts with disabled={true} doesn’t become focusable after disabled flips to false. As you noted, Pressable is focusable by default and focusability is governed by the focusable/accessible state (Focus Management → Making a component focusable ( Focus Management - Amazon Vega Docs )), so a component that’s enabled after mount should be reachable by D-pad and by FocusManager.focus() (Setting focus imperatively ( Focus Management - Amazon Vega Docs )). Your observation that it isn’t is what we’ll dig into.

A couple of asks to help us scope it:

  • You mentioned this appeared while upgrading to SDK 0.24 - if you can confirm the previous SDK version where this screen worked, that will help us determine whether this is a regression.
  • If you’re able to attach the device log capture referenced in section 5, that would be helpful (though your repro may be sufficient on its own).

In the meantime, the two mitigations you listed (remounting the Pressable when disabled changes, or omitting disabled and gating the action in onPress) are reasonable things to try on your side while we investigate - I’d like to confirm the underlying behavior with the team before recommending a specific approach as the fix.

I’ll update this thread as we learn more. Thanks again for helping us improve the Vega platform.

Warm regards,
Aishwarya

Hi Aishwarya,

Thanks for the quick escalation!

Previous working version: before the upgrade, the same screen worked on Vega SDK 0.22.5850 with react-native 0.72.0 / @amazon-devices/react-native-kepler 2.0.1758683737. It broke after moving to SDK 0.24.9914 with react-native 0.83.0 / @amazon-devices/react-native-kepler 4.0.1+rn0.83.0.


One more data point: if the button mounts with disabled={false}, everything works (D-pad and FocusManager.focus), even with the rest of the screen unchanged.

Found an issue on our end, can be closed !