-
Notifications
You must be signed in to change notification settings - Fork 25
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
Open the dialog automatically #109
Comments
Hi @acespace90. Unfortunately the It's possible to show a modal by default, but requires a fair bit of mucking around with attributes/events. Here's a quick demo I've put together: https://codepen.io/adamduncan/pen/YvrYZp It lacks a few a11y concerns (focus trap, ESC key binding, returning focus somewhere on close) and niceties (unbinding close events). Given it's not properly accessible (in the same way one opened by a user clicking on a button), I'd maybe suggest using an alternative plugin, which exposes the events you need. E.g. a11y-dialog is great 👌 |
Ok thank you @adamduncan, hope to see that method public in the a soon future ;-) |
Hi, is it possibile to open the dialog for example at document.ready?
So without clicking on a button.
Am I wrong or that method is missing?
The text was updated successfully, but these errors were encountered: