-
Notifications
You must be signed in to change notification settings - Fork 714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confirm Button is missing in DateTimePicker spinner using iOS newer versions #3027
Comments
Same problem
|
@JSantangelo-Octopus Were you able to find a solution to this? |
Hi , @mcalero11 !! I modified the library component with patch-package to support a prop called renderHeader, and from my project I put icons with expo-icons. `diff --git a/node_modules/react-native-ui-lib/src/components/dateTimePicker/index.js b/node_modules/react-native-ui-lib/src/components/dateTimePicker/index.js
|
@emprecario I will create the patch, I hope it works |
@mcalero11 Here you have my DatePickerHeader component: |
@emprecario I liked your approach and thank you for sharing it. However, in the end I used a different solution: react-native-ui-lib+7.21.2.patch:
Basically, I deleted all the assets with prefixes @4x and @1.5x |
Hi! Nope, i was working in another project. I will try your patch, thanks! |
Hi! I'm interested in this conversation, having the same issue. |
So I used @mcalero11 's method and it's working. On my end it was enough to remove only these files:
Here's the patch source: Filename:
"react-native-ui-lib": "^7.23.2" |
This is still happening in production |
Hi. I'm having trouble reproducing the issue. Is it an issue with specific iOS versions (16.0.3 and 17.4.1) or a specific react native version (0.73.6)? |
@Inbal-Tish Thank you for responding |
Hey! I suspect it's an iOS version specific bug, but I can't confirm it since I don't have any other iOS device (and it only occurs on physical devices). |
@Inbal-Tish Can you please check this |
@janoslc Deleting those 4 icons fixed the issue for you? |
I only deleted those icons, as the patch source file says. |
@janoslc It did not work for me |
@Inbal-Tish I spent a week trying on multiple things, no success |
I tried to remove the icons with |
Description
In iOS, using v 16.0.3 and 17.4.1, confirm icon in DateTimePicker is missing. Its only fails in production, i cant reproduce the error using ExpoGo
Related to
Steps to reproduce
Implements a DateTimePicker
Deploy the app on AppStore
Open the DateTimePicker. The confirm button doesnt exists. This error make impossible to complete the form
Expected behavior
Have the cancel and confirm Buttons in the DateTimePicker component, using spinner display in any iOS version
Actual behavior
When using iOS v 16.0.3 and 17.4.1, the confirm button is missing and the DateTimePicker cannot be confirmed
More Info
Code snippet
Screenshots/Video
(tested in ExpoGo first, and real app later)
WhatsApp.Video.2024-04-09.at.11.27.10.AM.mp4
Environment
Affected platforms
The text was updated successfully, but these errors were encountered: