web-ridge / react-native-paper-dates

Smooth and fast cross platform Material Design date and time picker for React Native Paper
https://www.reactnativepaperdates.com
MIT License
640 stars 164 forks source link

TimePicker with keyboard #289

Closed FernandoGo12 closed 1 year ago

FernandoGo12 commented 1 year ago

Hi, i'm new in RN and i using TimePicker and all nice, but when i choose keyboard mode, the numbers of the container time are cut in half, TPF TP This is a real device, and this in emulator image I'm doing something wrong?, this is the code i'm using <TimePickerModal visible={visible} onDismiss={onDismiss} onConfirm={onConfirm} hours={12} minutes={14} /> Sorry for my bad english, and thank you for any advice or help

github-actions[bot] commented 1 year ago

Hey! Thanks for opening the issue. Can you provide a minimal repro which demonstrates the issue? Posting a snippet of your code in the issue is useful, but it's not usually straightforward to run. A repro will help us debug the issue faster. Please try to keep the repro as small as possible. The easiest way to provide a repro is on snack.expo.dev. If it's not possible to repro it on snack.expo.dev, then you can also provide the repro in a GitHub repository.

FernandoGo12 commented 1 year ago

https://github.com/FernandoGo12/TimePickerQuestion.git snack.expo.dev throws error of Intl. I ran the same code with Expo and it worked perfectly, everything correct. But when I use it with react-native, the numbers of the time component are cut off I use node = 16.5 react-native = 0.71.8 timepicker thank you for any advice or help

FernandoGo12 commented 1 year ago

I wasn't using the inputFontSize property, so it was my mistake haha, thanks for the documentation update image