TextInput component with placeholderTextColor attribute appears to overlap cursor #27687
Labels
Bug
Component: TextInput
Related to the TextInput component.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Noticed in our application that the placeholder text appeared above the cursor:
Occurs on both iOS and Android platforms.
Simply removing the
placeholderTextColor
attribute appears to fix the overlap:React Native version:
Steps To Reproduce
TextInput
placeholderTextColor
(in our case, the value was#CFCECE
)Describe what you expected to happen:
We expected the cursor to continue to appear over the placeholder text.
Snack, code example, screenshot, or link to a repository:
I tried to reproduce in this snack: https://snack.expo.io/B12ftrpkL
Unfortunately, not reproducible on iOS, however it seems to be an issue with or without the
placeholderTextColor
attribute on Android, so I'm not sure this simulator can be trusted for this specific issue. 😕The text was updated successfully, but these errors were encountered: