I have a following problem. When Popover is moved by Tether so that it remains inside a viewport, its arrow is still in center. On the image below popover is attached to the first picture (where mouse cursor is) but it looks like as if it is attached to a second picture because small arrow is still in center. Is there a way to fix that?
Here is my code
$('.popover-image').popover({
html: true,
trigger: 'hover',
placement: 'bottom',
constraints: [{
to: 'scrollParent',
attachment: 'together',
pin: true
}],
title: $(this).data('title'),
content: function(){return '<img src="'+$(this).attr('src') + '" />';}
});
Popover on image with image source in popover display
Edit With Bootstrap 4