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

Replace Modal with Dialog #525

Open
3 tasks done
wuda-io opened this issue Nov 6, 2024 · 2 comments
Open
3 tasks done

Replace Modal with Dialog #525

wuda-io opened this issue Nov 6, 2024 · 2 comments
Labels
component: modal enhancement New feature or request

Comments

@wuda-io
Copy link
Member

wuda-io commented Nov 6, 2024

Before submitting...

Context

Replace the current Javascript based Modal with the semantically better version of <dialog>.
https://caniuse.com/?search=dialog

Current Behavior

No response

Expected behavior

No response

Possible Solutions or Causes

No response

Your Environment

  • Version used:
  • Browser Name and version:
  • Operating System and version (desktop or mobile):
  • Additional information you want to tell us:
@wuda-io wuda-io added enhancement New feature or request component: modal labels Nov 6, 2024
@gselderslaghs
Copy link
Member

I like the idea, it would be great if it can be done with Popover API as you mentioned in comment#549

From your point of view on the Popover implementation for handling visibility of dialogs, I thought it would also be a great enhancement towards tooltips, I've been experimenting with it recently in a Codepen example

@wuda-io
Copy link
Member Author

wuda-io commented Dec 19, 2024

Yes exactly! I think that would make a lot of things easier in future. Also there may be added anchor positioning which is already working in chrome but not firefox and safari yet. Maybe we could use a polyfill.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: modal enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants