Skip to content

Popover toggle does not work with target? #465

@malikwas

Description

@malikwas

So, I'm following the Reactstrap docs example for Popovers and everything displays fine. However, the Popover component toggle does not work if I click on the target when it is open. The behaviour is such that it closes first because it thinks that the user is clicking away from the Popover, but then the onClick handler is fired immediately after on the target, so it reopens. What results is an action where the toggle does not work after the Popover is open.

Is there anyway to address this? You can test this out yourself for all examples in the docs I just linked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions