react-blog-github
react-blog-github copied to clipboard
I want to close the GitHub react card
How to reproduce
- Open an article
- Go to the bottom and move the mouse over the reaction emojis
- 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)
Hi, actually you can close it by clicking on the blue smiley again.
... when a touch event is triggered outside of the react card ...
Indeed, this could improve the UX
@mbaralle you could close the popup by clicking the emoji reaction but you can improve the UX by closing the popup when user clicked outside the popup