Picker not launching on iPad Mini and Chrome on Windows (other devices/browsers work)

97 views
Skip to first unread message

Peter Gross

unread,
Dec 30, 2015, 6:06:04 AM12/30/15
to bootstrap-datepicker
Hi,

I've just started using date picker in my project as it has just the right functionality and responsive I'm looking for, but I have hit one snag I could do with some help with.

I have what I consider a fairly straight forward implementation of a date picker, but in a couple of places the code is added dynamically to the DOM.

I tested on my Android mobile (Chrome and built in Android browser) and all works fine in landscape and portrait modes.

I tested on desktop and most work fine - Firefox, MS Edge and IE all fire correctly, but oddly Chrome fails here.

I tested on my iPad mini (using Safari and Chrome) and both fail.

In all cases it looks like the Javascript doesn't seem to fire and the result is that I can edit the text entry, but there is no picker launched.

It gets a bit more odd, in that if I then tilt from portrait to landscape (or vice versa) on the iPad, the JS is fired and the picker is now available as I'd like.

Is there a method I can add to my function to manually force this trigger when I update the DOM?

Thanks,
Pete
Reply all
Reply to author
Forward
0 new messages