PostHog / posthog-js

Send usage data from your web app or site to PostHog, with autocapture.
https://posthog.com/docs/libraries/js
Other
303 stars 126 forks source link

dead click detection should ignore _unselecting_ text #1552

Open pauldambra opened 3 days ago

pauldambra commented 3 days ago

see https://x.com/AdrienBrault/status/1861177509901148615

if you click to select text we'd ignore that as your click would be followed by a selection change

But if you click to unselect text we would count that as a dead click...

A click that very closely follows a selection change probably isn't a dead click either