Semantic-UI-React icon indicating copy to clipboard operation
Semantic-UI-React copied to clipboard

Popup closes when hovering over certain child elements

Open nickanna42 opened this issue 8 years ago • 3 comments

Bug Report

When hovering over certain elements within my popup, the popup unexpectedly closes. The popup content is a <Card> with 3 <Card.Content> elements inside it. When hovering over the first two Card.Contents, the popup closes. It remains open when hovering over the final Card.Content. This is breaking change between 0.82.5 and 0.83.0

Steps

<Popup
  trigger={(
    <a as="Button" href="URL" className="myClass" size="mini">
      Im a link
    </a>
  )}
  position="left center"
  on="hover"
  flowing
  hoverable
>
  <Popup.Content>
    <Card>
      <Card.Content>
        <Card.Header>Stuff</Card.Header>
        <Card.Description>Stuff</Card.Description>
      </Card.Content>
      <Card.Content>
        <Card.Meta>Stuff</Card.Meta>
      </Card.Content>
      <Card.Content>
        <Card.Description>Stuff</Card.Description>
      </Card.Content>
    </Card>
  </Popup.Content>
</Popup>

Expected Result

I expect the popup to stay over when hovering over it's contents

Actual Result

The popup closes when hovering over some child and subchild elements

Version

0.83.0

nickanna42 avatar Nov 29 '18 21:11 nickanna42

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

welcome[bot] avatar Nov 29 '18 21:11 welcome[bot]

Duplicate #3239, fixed in #3257. Hope that will be released soon.

layershifter avatar Nov 30 '18 08:11 layershifter

Thank you and sorry for the putting the static in the issue channel. I didnt see any applicable open issue reports because you guys are so on top of it!

nickanna42 avatar Nov 30 '18 14:11 nickanna42