Tooltip/Popover methods show/hide/toggle don't work properly with click triggering
Created by: zandroid
After upgrading to version 3.3.5 I have found a couple of issues with popover. Original issue is I need to click twice by trigger element $el
if popover was hidden by $el.popover('hide')
. You can reproduce it here: https://jsbin.com/bapohu/edit?html,js,output.
It looks like a state is saved into inState
by events but not changed by calling of methods. commit
Another issues:
Need twice click by trigger to hide popover after $el.popover('show')
- Click by [show]
- Click by [trigger], note the popover is not hidden
- Click by [trigger] again, the popover is hidden
Opened by trigger the popover cannot be hidden by $el.popover('toggle')
- Click by [trigger]
- Click by [toggle], note the popover is not hidden