-
-
Notifications
You must be signed in to change notification settings - Fork 32
auto-dismiss #128
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
auto-dismiss #128
Conversation
This allows us to have auto-dismiss with and without the manual dismiss x Thanks @C-Lodder
src/js/alert/alert.js
Outdated
|
|
||
| /* Lifecycle, element appended to the DOM */ | ||
| connectedCallback() { | ||
| this.setAttribute('role', 'alertdialog'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my mistake - should not have changesd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just copy/pasted @C-Lodder code after testing it for autodismiss. Didnt spot these other changes. I guess he edited an older version of the file. I will put them back and retest before updating this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK should be correct now. I revert the dialog changes and retested and all seems good.
|
I "think" this might fix the error we are getting on the main repo as well
|
|
Thanks |
This allows us to have auto-dismiss with and without the manual dismiss x
Thanks @C-Lodder