cheeaun / cheeaun/tappable

Mouse support doesn't work on touchscreen laptops

Open
#13 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
309
Forks
35
PR merge metrics
No merged PRs in 30d

Description

The code only listens to mouse events when touch events are NOT supported. Just because touch events are supported doesn't mean there isn't a mouse (eg. Win8 laptops running Chrome, BlackBerry devices, normal laptops using browsers that support touch events even though no touchscreen hardware is present, etc.). See my G+ post for more details: https://plus.google.com/u/2/115788095648461403871/posts/6RqRCEVbqpC

The right fix is probably to ALWAYS listen to both mouse and touch events.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing where the library registers mouse and touch event listeners. Confirm the current touch-support condition, then verify that both input types work on touchscreen laptops and on regular browsers that expose touch events; done means mouse support no longer disappears when touch events are available.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.