Is there responsive bootstrap popover alternative?
twitter-bootstrap
Solution
I use this method in the meanwhile for better popover placement, should work with Bootstrap 2 and 3:
$("[data-toggle='popover']").popover({
// Add more else stuff with parentheses for more sizes
placement: function() { return $(window).width() < 975 ? 'top' : 'right'; }
});
If you have issues the popover width, first ensure the `container` parameter has a proper value, e.g. `container: 'body'`.
Problem
Currently bootstrap 2.3.2 popover is not responsive. On small screens it opens outside the screen. Is there an alternative? Thank you