Skip to content

Appbar.Content: the title is clipped at the largest accessibility text sizes #5247

Open

Description

@Doberjohn

Current behaviour

At the largest iOS accessibility text size, Appbar.Content's title scales but the header keeps its fixed height, so only the top half of the title shows, cut off at the bottom edge of the bar. 5.15.0 does the same, so it isn't a regression.

Expected behaviour

The title stays readable: the header grows, or the title is limited with maxFontSizeMultiplier or truncated.

How to reproduce?

  1. Render <Appbar.Header><Appbar.Content title="Sign in" /><Appbar.Action icon="menu" accessibilityLabel="Menu" onPress={onPress} /></Appbar.Header>.
  2. Set the iOS text size to the largest accessibility size (xcrun simctl ui <device> content_size accessibility-extra-extra-extra-large).

Your Environment

software version
ios 26.5 (simulator)
react-native 0.86.0 (New Architecture)
react-native-paper main (61d935b; still on 4c4bd8f)
expo sdk 57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions