-
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
Add close tray button to popover test. #5327
Conversation
Thanks for the PR! 🎉 We've deployed an automatic preview for this PR - you can see your changes here:
Note The build needs to finish before your changes are deployed. |
@@ -67,8 +66,8 @@ class Popover extends PopoverMixin(LitElement) { | |||
* @type {boolean} | |||
*/ | |||
trapFocus: { type: Boolean, reflect: true, attribute: 'trap-focus' }, | |||
_hasFooter: { state: true }, | |||
_hasHeader: { state: true } | |||
_hasFooterSlotContent: { state: true }, |
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 renamed these to make it clearer, since they are specifically in regard to whether the consumer has placed content in the header or footer slots.
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.
Unrelated to this PR but should this line also have a check for changedProperties.has('mobileTrayLocation')
?
Oh yeah, thanks for pointing that out. I'll fix that in the next round of changes. |
🎉 This PR is included in version 3.80.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
GAUD-7122
This PR adds the tray's Close button to the test popover component.