Hacker GitHub

← All repos

geobde/use-click-away

View on GitHub ↗ ★ 79 JavaScript

React hook to detect click or touch events outside an element.

7 mentions on Hacker News by 3 people: 6 stories, 1 comment · first 2020-07-17 · latest 2023-01-01

Mentions per year 7 mentions · busiest year 2020 (5)
20082026
  1. Does it really respond to touch events? Looks like you're only binding mousedown. https://github.com/geobde/use-click-away/blob/master/src/use...
    comment by zenosmosis · 2023-01-01 · in Use-Click-Away (React hook)