I tried to use remodal along with pickadate, so I can create a date picker and a time picker from a modal one. On the first test, I found out that the date picker will be hidden during the rebuild, as shown below.


To overcome this problem, I created a .full-screen class for my remodeling.
.remodal { &.full-screen { max-width: none; height: 100%; width: 100%; margin: 0 auto; } }
Then it works fine in Chrome, as shown below:


Then I can check the site on my iOS, and I found out that the overlay is running. I think it is attached to the bottom of the active input element. As shown on iOS Safari and iOS Chrome:


Normally, I would open my Safari on MacOSX and try to fix CSS. However, when the same page loads in Safari, a strange, serious performance hit occurs:
- I could not even download the developer tool
- Safari processor constantly exceeds 100%
- It takes ~ 15 seconds to download modal
- It takes ~ 10 seconds to load picadate.
and the result is as follows:

If you want to try, I temporarily opened the link here , click the green action button, and the modal should load. (first try on chrome, then safari first.) and you will notice the difference.
javascript jquery google-chrome safari pickadate
Chris yeung
source share