NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

Input Cursor is not visible on iOS in Dark Mode

Open bnussman opened this issue 2 years ago • 2 comments

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

  1. Create an <Input />
  2. Go into dark mode
  3. On iOS focus the input
  4. 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

bnussman avatar Nov 16 '22 00:11 bnussman

might be related to #5420

bnussman avatar Nov 16 '22 01:11 bnussman

      <Input
        _focus={{
          _ios: { selectionColor: '#F00' },
          _android: { selectionColor: '#F00' },
        }}
        placeholder="Native Base <Input />"
      />

https://snack.expo.dev/@zenolee/nb-input-selection-color

qd-wl avatar Jun 08 '23 08:06 qd-wl