Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML date picker cannot be clicked when HTMLDialog is opened as a modal #1017

Open
sasmithjr opened this issue Dec 3, 2024 · 2 comments
Open

Comments

@sasmithjr
Copy link

  1. SketchUp/LayOut Version: SketchUp 24.0.598
  2. 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:

  1. Open an HTML file containing a <input type="date" /> in an HTMLDialog opened with dialog.show
  2. 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.

@sasmithjr
Copy link
Author

su-modal-input-date-issue.mov

Here is a quick demo of the issue.

@sketchup
Copy link

sketchup bot commented Dec 9, 2024

Logged as: SKEXT-4421

@sketchup sketchup bot added the logged label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants