NativeBase
NativeBase copied to clipboard
Input Cursor is not visible on iOS in Dark Mode
Description
When you click into a text input on iOS, the blinking cursor is not visible, because it is too dark?
CodeSandbox/Snack link
https://snack.expo.dev/@bnussman/broken-ios-inputs
Steps to reproduce
- Create an
<Input />
- Go into dark mode
- On iOS focus the input
- Observe that you cannot see the blinking cursor well
NativeBase Version
3.4.21
Platform
- [ ] Android
- [ ] CRA
- [x] Expo
- [X] iOS
- [ ] Next
Other Platform
No response
Additional Information
Before (version 3.4.12-alpha.1
) (Expected behavior ✅)
https://user-images.githubusercontent.com/6440455/202047931-ea8f4a28-ae36-4d74-97da-02ec82125878.mp4
After (version 3.4.21
) (Not good 🚫)
https://user-images.githubusercontent.com/6440455/202047919-2e928eb3-0acf-49fd-9591-2abd61aac699.mp4
might be related to #5420
<Input
_focus={{
_ios: { selectionColor: '#F00' },
_android: { selectionColor: '#F00' },
}}
placeholder="Native Base <Input />"
/>
https://snack.expo.dev/@zenolee/nb-input-selection-color