-
Notifications
You must be signed in to change notification settings - Fork 0
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 Popover
component
#51
base: main
Are you sure you want to change the base?
Conversation
|
|
||
event.preventDefault(); | ||
event.stopPropagation(); | ||
closePopover(); |
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.
This internal action calls the closePopover
argument function, which in turn updates the value of isOpen
.
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.
Not sure if this affects anything that you are working with right now but shouldn't this be this.args.closePopover()
?
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.
Hmm, it's destructured off of this.args
a few lines up, but I'll see if it makes a difference...
NARRATOR: It didn't.
No description provided.