React-native-paper: TextInput in outlined mode : crop text / content can be scroll verticaly

Created on 1 Apr 2020  路  10Comments  路  Source: callstack/react-native-paper

Environment

"react-native-paper": "^3.6.0" on Android

Description

Text inside textInput can be scroll verticaly and crop when you use height with style prop in outlined mode. Look like there is a problem with paddingVertical.

<TextInput
        mode="outlined"
        placeholder="I'm crop and can scroll verticaly 馃檨"
        style={{ height: 64}}
        value={this.state.text}
        onChangeText={text => this.setState({ text })}
      />

20200401_162354

Reproducible Demo

https://snack.expo.io/@lvantours/bug-on-textinput-in-outlined-mode

Stale

Most helpful comment

I found an error, paddingOut in react-native-paper/src/components/TextInput/TextInputOutlined.tsx generates a problem.

All 10 comments

Yeah I'm facing same issue.

I'm also facing same issue.

Anyone have fixed issue ???

Hello 馃憢, this issue has been open for more than 2 months with no activity on it. If the issue is still present in the latest version, please leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution on workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix the issue.

that's still the case on android and web too now
web :
Capture d鈥櫭ヽran 2020-07-09 脿 09 16 10

I also face this issue on android if i reduce the height of the textInput.

Same problem on Android

I found an error, paddingOut in react-native-paper/src/components/TextInput/TextInputOutlined.tsx generates a problem.

I have the same problem. Please reopen this issue.

I have the same problem, removing paddingOut worked.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

makhataibar picture makhataibar  路  4Comments

alikazemkhanloo picture alikazemkhanloo  路  4Comments

tonyxiao picture tonyxiao  路  3Comments

yaronlevi picture yaronlevi  路  3Comments

mihaidaviddev picture mihaidaviddev  路  3Comments