Skip to content

Tooltip/Popover methods show/hide/toggle don't work properly with click triggering #16732

Closed
@zandroid

Description

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions