How to prevent the popover div for hiding on clicking inside it for twitter bootstrap “dismissible popover”(data-trigger=“focus”)?

前端 未结 4 1365
时光说笑
时光说笑 2021-02-20 07:01

I have a a dismissible popover(data-trigger=\"focus\") with a text box inside it. But as soon as I click inside the text box to type it dissappear because of the \"data-trigger=

4条回答
  •  既然无缘
    2021-02-20 07:15

    Instead of

    data-trigger="focus"
    

    you should use

    data-trigger="'focus'"
    

    for AngularUI Bootstrap version 2.0 and above.

提交回复
热议问题