TextInput in outlined mode : crop text / content can be scroll verticaly
See original GitHub issueEnvironment
“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 })}
/>
Reproducible Demo
https://snack.expo.io/@lvantours/bug-on-textinput-in-outlined-mode
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:17
Top Results From Across the Web
Prevent Text scrolling and truncation in TextInput field
TextInput in android seems to have a default paddingBottom set whereas iOS doesn't, because android have underline tag but ios doesn't .
Read more >overscroll-behavior - CSS: Cascading Style Sheets | MDN
The overscroll-behavior CSS property sets what a browser does when reaching the boundary of a scrolling area.
Read more >Text fields - Selection and input - Human Interface Guidelines
A text field is a rectangular area in which people enter or edit small, specific pieces of text.
Read more >Text fields - Material Design
Text fields should stand out and indicate that users can input information. ... They are a fixed height and scroll vertically when the...
Read more >Scroll Rect | Unity UI | 1.0.0
Usually a Scroll Rect is combined with a Mask in order to create a scroll view, where only the scrollable content inside the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same problem here, removing
paddingOut
from thestyle
argument in the InputLabel worked.I have the same problem. Please reopen this issue.