question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS 15 keyboard numpad accepts off numbers and cannot disable it

See original GitHub issue

Describe the bug Since iOS 15 you can tap on the wheel to call the keyboard and type the time. There is no way to disable it and also you can type out of range numbers.

https://user-images.githubusercontent.com/39256258/145984310-c24cb045-4050-4088-89dc-296146845376.MP4

Expected behavior Need a way to disable numpad if possible, restrict typing to hour - minute range.

To Reproduce Add example code that reproduces the behavior.

export default class App extends Component {

  state = { date: new Date() }

  render = () =>
    <DatePicker
      maximumDate={getMaximumDate()}
      mode="datetime"
      date={this.state.date}
      onDateChange={date => this.setState({ date })}
    />

}

Smartphone (please complete the following information):

  • OS: iOS
  • React Native version: 0.64.2
  • react-native-date-picker version: 4.1.3

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
henninghallcommented, Feb 17, 2022

Oh that’s great! Do you mind creating a PR?

0reactions
gabimonchacommented, Feb 22, 2022

I agree to have it as a prop. Apple thinks it’s a feature, while some designers / PMs think it’s a bug 😛

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adjust the onscreen and external keyboard settings on iPhone
On iPhone, change the settings for the onscreen keyboard or an external ... Go to Settings > Accessibility > Keyboards, then turn off...
Read more >
How to Enable/Disable Keyboard Character Preview - YouTube
Learn how you can enable or disable Keyboard Character Preview on iPhone 13 / iPhone 13 Pro/Mini.Gears I use: iPhone 13 Pro: ...
Read more >
iOS 15 dial picker: How it works, hidden numbed, more
Apple has changed the number picker in the new iOS. The dial picker has returned in iOS 15 but with a small twist...
Read more >
How disable change language in number pad in iOS ...
NO,we can't disable or Hidden the keyboard properties, it is not possible to handle the default property of Keyboardtype in iOS , if...
Read more >
The Microsoft External Number Pad Works Great With ...
Clearly, it's a bit of a workaround — Karabiner Elements ensures the Number Pad works properly with macOS while the On-Screen Keyboard app...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found