Skip to content

Make Menu component SCREEN_INDENT configurable. #3296

@bombillazo

Description

@bombillazo

Is your feature request related to a problem? Please describe.
I have some screens using TextInputs that must be flush to the screen edges. Rather than having a whole separate TextInput component or working around styles, it would be great to have this value overrideable.

Describe the solution you'd like
Expose this property somehow to be able to override this value.
Describe alternatives you've considered
Either have a separate component (impractical since it would break UI consistency of using RNP) or programmatically remove this gap by offsetting the gap, which is not performant and complicates the code.

Additional context
Want to remove this gap caused by SCREEN_INDENT
image

react-native: 0.69.3
react-native-paper: 4.12.4
react-native-vector-icons: 9.2.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions