davidtheclark / teeny-tap

Listen for both clicks and click-like touches (not scrolls or drags)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

click/tap outside?

oyeanuj opened this issue · comments

commented

Hi @davidtheclark! Here via your comment on react-click-outside today.

I noticed that this library only creates a consistent listener for clicks and taps. Just wondering if you have an example or code snippet that shows how to use this library to determine if the tap is outside the element, similar to the usecase in react-click-outside?

Thanks, as always, for putting your work out there! :)