Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Popup is closed incorrectly when click inside element #1324

@xiaolanli

Description

@xiaolanli

Bug Report

Steps

  1. click on the button, a Popup with an inner button "click me" shows up
  2. click on "click me", the popup disappeared

Expected Result

click on "click me", the popup should get smaller.
*Notice that we put "e.preventDefault();" to the onClick handler, but it didn't trap the event.

Actual Result

the popup disappears

Version

latest

Testcase

https://codesandbox.io/s/031rl98lzw?fontsize=14

Metadata

Metadata

Assignees

No one assigned

    Labels

    vstsPaired with ticket in vsts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions