DatePicker @ Safari shows 1870 and 1721

Hi, with Vaadin 14.1.17 the DatePicker shows this behavior in Safari browser at an iPad (6th generation, software version 13.1.3):
When there is a date (here: 30th June 2019) already in the DatePicker field and the user touches onto the textfield, then the DatePicker opens and shows a date in the far past, e.g. February in 1870.
For January 31st 2019 the DatePicker shows September 1869.
For March 31st 2019 the DatePicker shows November 1869.

This only happens when the form is opened the first time. After that everything works fine. When closing and reopening the form it occurs again.

Now another strange thing: when I connect the iPad with a keyboard via Bluetooth, then the strange behavior changes:
For March 31st 2019 the DatePicker shows July 1720.
For April 30th 2019 the DatePicker shows August 1720.
For August 31st 2019 the DatePicker shows December 1720.
(This seems to me a linear offset.)

This behavior is not only at my application but also at the DatePicker examples, see screenshot Vaadin-DatePicker.png.
18129902.png
18129905.png
18129908.jpg

Hi,

I tried to reproduce the issue with both simulator and real device, also tried changing language settings and time-zone, but wasn’t able to reproduce the issue.

I have some follow up questions:

If you happen to have Safari on macOS and can connect the iPad to Safari Web Inspector could you check if there is some client-side exception shown in the console when you load the page or open the date picker pop-up? ([instructions here]
(https://appletoolbox.com/use-web-inspector-debug-mobile-safari/))

Hopefully this shed more light on what’s happening so we can report and work on it.

Thanks

Hi Guillermo,

yes, I still can reproduce the issue in the Java Examples page and also in the HTML Examples page.
In the beginning it was OK and did not occur, but then it suddenly occurred and was reproducible every single time I revisited the page.

See videos: https://youtu.be/NHpza-OZyZI and https://youtu.be/nMe0RJKJ0JI
And it still occurs with my own system with Vaadin 14.1.18.

No sorry, I don’t have macOS. The iPad is the sole Apple device I have.

Regards

Another piece of this puzzle: Today I can reproduce this strange behavior only when the iPad is paired with a Bluetooth keyboard (https://www.amazon.de/gp/product/B07F9X2ZDM/).
But when they are paired, it occurs every time I first open the DatePicker at a page.
After unpairing the strange behavior is gone immediately and does not return until successfully pairing (this lasts up to 20 seconds and may be the reason why I didn’t reproduce it in the beginning).