Skip to content

Flex doesn't work on Button #1137

@cpboyd

Description

@cpboyd

Environment

Expo 33 & react-native-paper 2.16.0.

Description

Applying {flex: 1} to the Button only applies to the Surface container, with no clear ability to properly stretch the TouchableRipple to fit.

As a result, the outline of the button fills the space, but the actual touchable portion does not.

Reproducible Demo

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