jakiestfu / jakiestfu/Snap.js

Demo breaks if you move over the sidebar

Open
#282 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.9k
Forks
642
PR merge metrics
No merged PRs in 30d

Description

On the [default demo](http://jakiestfu.github.io/Snap.js/demo/apps/default.html#), if I start dragging the hamburger menu and move my pointer over the sidebar, the drag breaks. I'm guessing you're listening to `mousemove` on the wrong element or forgot to capture the pointer if you're using pointer events.

Incidentally, the [drag element](http://jakiestfu.github.io/Snap.js/demo/apps/dragElement.html) demo doesn't seem to have the same problem.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in the default demo by dragging the hamburger menu and moving the pointer over the sidebar; compare its behavior with the dragElement demo. Trace the default demo's drag handling to identify where movement stops, and consider the issue done when dragging continues across the sidebar without breaking.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.