-
Notifications
You must be signed in to change notification settings - Fork 60
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
More update_popover()
fixes
#1017
Changes from 4 commits
a6d80df
907646d
d0194b7
6f1e085
65e71f2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
Do we query
tip
because changes to the popover content while the popover is open might not be reflected inthis.header
andthis.content
?I'm thinking about it in part because this line
makes it seems like we might have a stable element to point to, in which case
this.header
could hold the reference to that element directly.Actually, after reading ahead a bit, I can see that the
<div>
is probably replaced on update. Maybe just a wording tweak to the comment?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.
Yes, but also, when the tip is visible,
this.header
andthis.content
are actually empty because they move elsewhere in the DOM (specifically, from the custom element to the Bootstrap controlled.popover
element).