Closed MikeyZat closed 7 months ago
Hi, thank you for the report! We recently fixed this bug; The date picker should work on mobile in the latest prerelease 3.3.0-alpha.1 Duplicate of #2278
@MikeyZat I'm closing this now as it should be fixed already. If the problem persists with version 3.3.0-alpha.1
or later feel free to reopen this.
Describe the bug
Date Picker does not work on mobile (touch) devices, the date dialog never opens dialog. On desktop it works, however, sometimes on the very 1st click nothing happens (you have to click twice to open the dialog). It used to be working in
v3.1.0
. I think it might be related to this commit.Expected behavior
When touching the date picker on mobile device, I should see the date dialog open.
Steps to reproduce the issue
Screenshots
https://github.com/eclipsesource/jsonforms/assets/41756225/cc382202-e0ad-4b35-b3d9-8fd392155d00
Which Version of JSON Forms are you using?
v3.2.1
Framework
React
RendererSet
Material
Additional context
Related thread: https://jsonforms.discourse.group/t/how-to-use-date-input-on-mobile/1951
On the official MUI demo page, it works good: https://mui.com/x/react-date-pickers/getting-started/#render-your-first-component
I've tried updating the
@mui/x-date-pickers
to latest version, or even to 7.0.0-beta.6 but it didn't help. It must be related to some custom renderer code that wraps the date picker.