Open jcubic opened 9 months ago
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available - 0.72.8. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
I use Expo I can upgrade the version of RN.
Do you still experience this issue? If yes, I will publish the fix in the react-native-improved package https://github.com/fabriziobertoglio1987/react-native-improved. Thanks a lot
@fabriziobertoglio1987 the issue was not fixed if this is what you're asking. I fixed my code by not using background but this doesn't mean that the bug is not there.
Description
If you have TextInput with children and one of the Text elements has a background the cursor on that element disappears (only the selection marker is visible). Found this while working with react-native-syntax-highlighting that was adding background but figured out how to remove the background that was on a wrapper.
Steps to reproduce
React Native Version
0.72.6
Affected Platforms
Runtime - Android
Output of
npx react-native info
I'm not sure why npx react-native info doesn't work on my system (Fedora) I do have an SDK and Android Studio.
Stacktrace or Logs
Reproducer
https://github.com/jcubic/react-native-text-input-cursor
Screenshots and Videos