Topic: Datepicker dead if opened while another inline Datepicker was open
UNNdev priority asked 3 years ago
Expected behavior
Opening an inline Datepicker while another inline Datepicker is open should not cause any side-effects.
Actual behavior
On a page with two inline Datepicker components, open the first Datepicker. While the Datepicker is open, click on the icon of the second Datepicker to open it. The first Datepicker closes and the second Datepicker opens, but you cannot do anything with the second Datepicker. Navigating through the calendar does not work, nor selecting a date. You have to close and re-open the Datepicker to be able to interact with it normally again.
The second problem occurs when you have an inline Datepicker and a regular one. Open an inline Datepicker and while it's open, click on the icon of the regular Datepicker to open it. It will initially open, but then fade out together with the closing inline Datepicker and you end up with just the backdrop and no visible Datepicker.
UNNdev priority answered 3 years ago
3.10.1 mentions "Fixed opening Datepicker when other instance is open". At first glance, my problem appeared to have been fixed. However, the bug persists if you disable animations. In Windows e.g. Settings > Ease of Access > Display > Show animations in Windows. For other OSes, see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
Dawid Wajszczuk staff commented 3 years ago
Hi. Thanks for reporting this. I have added proper task.
Dawid Wajszczuk staff answered 3 years ago
Hi,
Thanks for reporting this bug. I have added this to our TODO list.
Keep coding,
Dawid
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.8.0
- Device: All devices
- Browser: All browsers
- OS: All operating systems
- Provided sample code: No
- Provided link: No