HTML date picker cannot be clicked when HTMLDialog is opened as a modal
- SketchUp/LayOut Version: SketchUp 24.0.598
- OS Platform: macOS 15.1.1
When I open an HTMLDialog as a modal, users are unable to interact with the HTML date picker (<input type="date" />). It works as expected when using dialog.show, but dialog.show_modal does not. The user can still type the date in to the input by hand; it's the visual calendar that cannot be clicked.
Reproduction of the issue: https://github.com/sasmithjr/su-modal-input-date
The repro is an extension with two menu items:
- Open an HTML file containing a
<input type="date" />in an HTMLDialog opened withdialog.show - Open the same HTML file in an HTMLDialog opened with
dialog.show_modal
The first option is to demonstrate that the date picker can be interacted with when the dialog is opened with dialog.show, and the second option is to demonstrate the issue.
Expected behavior is that the user should be able to interact w/ the HTML date picker when the HTMLDialog is opened as a modal.
https://github.com/user-attachments/assets/98a06f86-80a9-41c9-8499-d2e3e44fb2cf
Here is a quick demo of the issue.
Logged as: SKEXT-4421