saadpasta/react-blog-github

I want to close the GitHub react card

Open

#16 建立於 2020年2月19日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (126 fork)github user discovery
enhancementgood first issue

倉庫指標

Star
 (785 star)
PR 合併指標
 (PR 指標待抓取)

描述

How to reproduce

  1. Open an article
  2. Go to the bottom and move the mouse over the reaction emojis image
  3. Click on the blue smiley on the right to open the GitHub react card

Expected

Able to close the card

Actual

No way to close the card

Hint

  • That could be solved with an event on a button and/or Esc key
  • Another solution is to close when the mouse leaves the react card or when a touch event is triggered outside of the react card (which implies that the react card is positioned under the mouse/touch point)

貢獻者指南