You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When selecting a text within a TextInput in android, the selectionColor is opaque (i.e. isn't partially transparent), which makes the text hard to read.
Expected behaviour
The selected text should be readable regardless of the selectionColor, even if it's a custom one.
Passing a transparent color for selectionColor like selectionColor={"rgba(255, 255, 0, 0.2)"}
But then the cursorColor in android is the same as selectionColor even if a custom/specific cursorColor was set
Your Environment
software
version
ios
x
android
x
react-native
x.x.x
react-native-paper
5.9.1
node
x.x.x
npm or yarn
x.x.x
expo sdk
47.0.0
The text was updated successfully, but these errors were encountered:
Current behaviour
When selecting a text within a
TextInput
in android, theselectionColor
is opaque (i.e. isn't partially transparent), which makes the text hard to read.Expected behaviour
The selected text should be readable regardless of the
selectionColor
, even if it's a custom one.How to reproduce?
https://snack.expo.dev/@jahirfiquitiva/rnp-textfield-selection
Preview
What have you tried so far?
Passing a transparent color for
selectionColor
likeselectionColor={"rgba(255, 255, 0, 0.2)"}
But then the
cursorColor
in android is the same asselectionColor
even if a custom/specificcursorColor
was setYour Environment
The text was updated successfully, but these errors were encountered: