question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Popover's body/content removed after hiding all popovers with 'bv::hide::popover' on $root

See original GitHub issue

Hi,

When I try to close all open popovers on the “@show” event:

onShow () {
      this.$root.$emit('bv::hide::popover')
}

And I try to reopen the popover, I get empty content on it. What could it be?

Edit 1: What gets deleted is the inline content inside the component.

Thanks in advance!!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tmorehousecommented, Nov 9, 2017

We were able to recreate the issue, and have a PR that will fix this.

Should be available in the next release.

1reaction
tmorehousecommented, Nov 9, 2017

I assume you are using the component version of popover?

Could you provide some sample markup & code?

Read more comments on GitHub >

github_iconTop Results From Across the Web

jQuery - close all popovers on body's any elements focus
The problem with the current accepted answer is that popover hides even when you click inside the tooltip (bad if you have an...
Read more >
Popovers - Bootstrap
Popovers must be hidden before their corresponding elements have been removed from the DOM. Keep reading to see how popovers work with some...
Read more >
Popover | Components - BootstrapVue
Details about $root instance can be found in the official Vue docs. Hiding and showing popovers via $root events. You can close (hide)...
Read more >
How to Dismiss a React-Bootstrap Popover on Click Outside
Since popovers are triggered using a click event through a button, ... Remove the logo, App.css, and all their imports from App.js ....
Read more >
Popovers - Bootstrap - University of Houston
For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning you must initialize them yourself. One way to initialize all popovers on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found