The popover does not display the image correctly when opened for the first time.
Any idea how I can make sure that it always displays correct?
https://jsfiddle.net/n2Lfro30/1/
This is the button:
<button type="button" class="btn btn-primary" data-rel="popover" title="<strong>Heading</strong>" data-placement="right" data-content="<img src='https://picsum.photos/400'>"> Click me </button>
this is the JS:
$(document).ready(function() {
$('[data-rel=popover]').popover({
html: true,
trigger: "hover"
});
})