Skip to content

Card.Title (Android & iOS) - The height of the card does not automatically adjust when Title and Subtitle fontSize gets larger.  #4184

@leons1767

Description

@leons1767

Current behaviour

In Android and iOS, tittle and subtittle do not appear normally when the fontSize is greater than 32 and 24. The styling in titleStyle or subtitleStyle has no way of adjusting the vertical position of the text after increasing the height.

Appbar.Content has the same problem.

Expected behaviour

The height should adjust according to the fontSize, and the text appear normally, like in Web

How to reproduce?

https://snack.expo.dev/@ad9889/react-native-paper-card

Preview

Please see snack example

What have you tried so far?

Tried adjusting the different styling in Card and Card.Title, none works

Your Environment

software version
ios x
android x
react-native x.x.x
react-native-paper x.x.x
node x.x.x
npm or yarn x.x.x
expo sdk x.x.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions