react-native icon indicating copy to clipboard operation
react-native copied to clipboard

TextInput with prop keyboardtype number-pad doesnt render returnKeyType next?

Open arnoldc opened this issue 1 year ago • 4 comments

Description

When using Textinput component with a keyboardType="number-pad" and with a returnKeyType="next" The keyboard doesnt render any "next" button

here is a demo below

https://github.com/facebook/react-native/assets/242780/5e782150-318e-4484-9bfe-3f5b61e2e4c9

Steps to reproduce

  1. install a react native version 0.73.4
  2. create a basic TextInput component , use similar prop like below
<TextInput
      style={styles.input}
      onChangeText={() => {}}
      value={}
      placeholder=""
      keyboardType="number-pad"
      returnKeyType="next"
    />
  1. Test it in iOS simulator and ensure that keyboard will show

React Native Version

0.73.4

Affected Platforms

Runtime - iOS

Output of npx react-native info

its expo project but i believe this is happening also in bare react native

Stacktrace or Logs

dont have stacktrace

Reproducer

https://snack.expo.dev/@arnoldc/b5f7f2

Screenshots and Videos

No response

arnoldc avatar Feb 29 '24 03:02 arnoldc

: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.73.5. 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.

github-actions[bot] avatar Feb 29 '24 03:02 github-actions[bot]

can I work on this issue?

elencho avatar Mar 02 '24 15:03 elencho

Hey there! this is workaround : https://github.com/facebook/react-native/pull/43362

elencho avatar Mar 07 '24 10:03 elencho

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

react-native-bot avatar Sep 04 '24 05:09 react-native-bot

This issue was closed because it has been stalled for 7 days with no activity.

react-native-bot avatar Sep 11 '24 05:09 react-native-bot