bootstrap Popover issue with placement:'auto' -
bootstrap Popover issue with placement:'auto' -
i using bootstrap popover plugin. , creating issue. using placement:auto in js , in css using max-width:450px , width:auto in popover class. after applying our popover cutting off if our link right hand side in corner.
please help me on resolve issue.
try in js file:
$(".popover-left").popover({placement:'left',trigger:'hover',delay:{show:500,hide:0}}); $(".popover-right").popover({placement:'right',trigger:'hover',delay:{show:500,hide:0}}); $(".popover-top").popover({placement:'top',trigger:'hover',delay:{show:500,hide:0}}); $(".popover-bottom").popover({placement:'bottom',trigger:'hover',delay:{show:500,hide:0}}); seeing don't have code, best can you.
i prefer not utilize auto alternative created different js functions them , utilize desired class based on placement , how want popover behave.
i hope helps.
twitter-bootstrap
Comments
Post a Comment