unstale

npm / @react-navigation/elements

@react-navigation/elements

What changed in @react-navigation/elements 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

2 new APIs and options1 performance2 behavior and defaults14 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@react-navigation/elements 219 changes

New APIs and options 2

  • More style properties are allowed on the header, giving developers additional styling options.

    2.9.0release notes

  • Adds an unstable integration for native bottom tabs.

    2.8.0release notes

Performance 1

  • Avoids flexBasis: 0% in screen to address slowdown on Safari.

    2.9.46release notes

Behavior and default changes 2

  • Badge moved to elements and is now exposed in the public API.

    2.7.0release notes

  • Corners use a continuous rounded style.

    2.7.0release notes

Fixes and other changes 14

  • Increases the touch target for the Android back button in the header.

    2.9.46release notes

  • Passes disabled to PlatformPressable.

    2.9.46release notes

  • Prevents screen content from drawing over the header.

    2.9.46release notes

  • Accessibility for the custom header searchbar was improved.

    2.9.45release notes

  • Measure frame size in a layout effect.

    2.9.43release notes

  • Prevents full-page navigation when clicking links on disabled pressables.

    2.9.31release notes

  • Corrects target detection for links.

    2.9.31release notes

  • Gracefully handles multiple versions of elements when using useFrameSize.

    2.9.22release notes

  • Fixes useFrameSize returning an incorrect layout on the old architecture.

    2.9.18release notes

  • Preserves accessibility on Android when the header is transparent.

    2.9.15release notes

  • Measures frame size without an additional view.

    2.8.5release notes

  • Changed the order of views so react-native-screens finds nested navigators.

    2.8.3release notes

  • Header layout is measured earlier, in a layout effect.

    2.8.2release notes

  • Tweaked lazy rendering logic.

    2.8.1release notes