Solution: #jQuery #bootstrap popover focus not working in Chrome

Updated November 15, 2013 ‚óŹ 5,422 views

As I was developing this website, focus trigger for bootstrap popover doesn't work in Chrome. As a workaround, I used the following code below. You can see this in action by clicking on the user thumbnail below the title of this article.

As work around do the following using the default click trigger:

jQuery(function($) {
        $(".pop-user-info").not(this).popover("hide"); //hide other popovers
        return false;
        $(".pop-user-info").popover("hide"); //hide all popovers when clicked on body


Sort by Best Controversial New

What is "pop-user-info"? Is this the class for each popovers? I don't have to use an Id?

David · 8 years ago
permalink · reply (0)

It's working, but is there a way to just mkae it on hover. I'm trying to do hover but the popover disappears when mouse moves.

Prakash1 · 8 years ago
permalink · reply (0)

Our Terms of Use and Privacy Policy have changed.
By continuing to use this site, you are agreeing to the new Privacy Policy and Terms of Service.