Skip to content

The dropdown can't be closed while click document if set trigger="click" #2

@tianyingchun

Description

@tianyingchun
<Dropdown overlay={menu4} trigger="click">
          <button className="btn btn-info btn-sm">
            点击触发 <i className="glyph-icon glyph-arrow-down"></i>
          </button>
        </Dropdown>

it throw error, Uncaught TypeError: this.popupInstance.getPopupDomNode is not a function
Note: first click trigger button, it works fine. click trigger button repeat twice +, it will throw error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions