Input has extra vertical paddings on Android
See original GitHub issueIssue type
I’m submitting a … (check one with “x”)
- bug report
- feature request
Issue description
Input
component has extra text paddings on Android
Current behavior:
Screenshot on iOS Screenshot on Android
Workaround: Currently, to achieve same UI we can use
const styles = StyleSheet.create({
text: Platform.select({
ios: undefined,
android: { paddingVertical: 0 },
});
});
// ...
render() {
return (
<Input textStyle={styles.text} />
);
}
Other information:
OS, device, package version
Nexus 5x API 26
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:14
Top Results From Across the Web
Android EditText has extra padding [duplicate] - Stack Overflow
As you can see, there is extra padding in both EditText s. The one that says "infinity" has slightly less padding due to...
Read more >View - Android Developers
Displays a vertically-scrollable collection of views, where each view is positioned ... To measure its dimensions, a view takes into account its padding....
Read more >padding-bottom - CSS: Cascading Style Sheets | MDN
An element's padding area is the space between its content and its border. The effect of the CSS padding-bottom property on the element...
Read more >Padding - Lightning Design System
Adjust whitespace by applying horizontal and vertical padding helpers. About Padding#. The base unit of all of our spacing metrics is 4. Before...
Read more >padding | CSS-Tricks
If an element has a specified width, any padding added to that element will add to the total width of the element. This...
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 Free
Top 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
@Frans-L yes. This will be fixed in next release
Hey, is there any update? Has anyone started do a fix / pr?