Date picker is not showing when the picker is inside the modal
See original GitHub issueHi,
I have the modal that open the item details on clicking on the list of items. The picker works fine without the modal but I’d like to show the date picker in the modal. It works perfectly fine on Android. However, on IOS, I’m getting the following error.
Attempt to present <UIAlertController: 0x1049cd800> on <UIViewController: 0x1045121a0> (from <UIViewController: 0x1045121a0>) which is already presenting <RCTModalHostViewController: 0x11a09a720>.
To replicate “react”: “17.0.2”, “react-native”: “^0.65.1”, “react-native-date-picker”: “^4.0.0”,
I use import {Modal} from ‘react-native’;
Issue Analytics
- State:
- Created 2 years ago
- Reactions:11
- Comments:6 (2 by maintainers)
Top Results From Across the Web
DatePicker not working inside a modal - Stack Overflow
The reason it's not working for you is because your datepicker is being bound to elements that exist at the time the script...
Read more >Datepicker not working inside of Modal Window #2736 - GitHub
Hello All,. I am trying to manage ngx-date picker in modal popup at the time of scrolling it's not move with date text...
Read more >UI page : jquery datepicker not working inside bootstrap modal
It seems like some JS library(from UI page) is conflicting with the datepicker JS. I have tried different ways to counter it but...
Read more >Datetime picker not working in dynamic modal - Laracasts
Its a problem with event registering + data that load later. ... Your js will create new datepicker instance all the time, when...
Read more >Datepicker not working inside of Modal - YouTube
Datepicker not working inside of Modal. 3.3K views 4 years ago. Binary 777. Binary 777. 46 subscribers. Subscribe. 7. I like this.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
modal attribute in DatePicker Ios
This should now have been solved in
v4.1.3
, please try it out and let me know if it fixed it for you 🙂