Closed Nodirbek3d closed 11 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am also facing this issue with trailingAccesory. Kinda made it work like this, but I think it's hacky.
trailingAccessory={
<View style={{ position: 'absolute', right: 0, top: 0, bottom: 0, justifyContent: 'center' }}>
<Ionicons name="chevron-down-outline" size={24} color={Colors.neutral400} style={{ backgroundColor: Colors.$backgroundDefault }} />
</View>
}
Description
When a leadingAccessory is added to text field, it does not keep text inside the border of field
Code:
Using leadingAccessory:
Text field styling:
If I remove leadingAccessory, text stays within textfield border
Related to
Steps to reproduce
Expected behavior
Text field's text should stay within border
Actual behavior
text overflows text field's border
More Info
Code snippet
Screenshots/Video
Environment
Affected platforms