Skip to content

TextInput content scrolls in outlined mode on AndroidΒ #2730

@pedrobneto

Description

@pedrobneto

Current behaviour

When height property is set on an outlined input, it becomes scrollable when focused

Edit: only happens on Android

Expected behaviour

TextInput should not be scrollable

Code sample

`import * as React from 'react';
import {TextInput} from 'react-native-paper';

export default function App() {
return (
<TextInput
style={{marginTop: 24, height: 40}}
mode='outlined'
placeholder='This placeholder will scroll when focused'
/>
);
}`

Screenshots (if applicable)

input-bug

What have you tried

Your Environment

software version
ios or android
react-native "4.13.0"
react-native-paper "^4.8.1"
node "14.7.0"
npm or yarn "7.12.0"
expo sdk "3.24.0"

Snack that reproduces the issue:
https://snack.expo.io/6tTczRnvw

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