javascript - Overflow scrollbar in popover window not working (Bootstrap) -


i have couple of popovers on site contain number of href tags. of popovers there's no problem in terms of height. however, 2 of them require overflow/scrollbar solution.

this have tried far not appear work:

html:

<div class="col-sm-2">     <a href="#" class="thumbnail" data-toggle="popover" data-trigger="focus" title="yeast & mould" data-content='<ul><li><a href="first link"</a></li>       <li><a href="second link"</a></li>       <li><a href="multiple links"</a></li>       </ul>     </a> </div> 

javascript:

<script> $(document).ready(function(){     $('[data-toggle="popover"]').popover({html: true;}); });      </script> 

css:

.popover-content {     overflow-y: auto; }     

any ideas how can resolve problem appreciated.

as reddy suggested in comment, setting max height popover resolves issue. reddy!


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -