jakiestfu / jakiestfu/Snap.js

Snap.js bug when closing panel.

Open
#90 2 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

Hello,

Thank you for the great plugin, its very fast on mobile device.

I'm having an issue while using Snap.js for my mobile header app. Here is how I did:
1. I have a menu-stack icon on the left as in the demo
2. And another alert() button for testing purpose on the far right which if u open the panel, the menu-stack button and this one is at the same position.
3. Opening the panel with Snap is ok but when I tap the menu-stack again to close it, It calls the alert() button as well, and I get an alert() on the screen.

I tried on the demo and it also replicates the same bug.

Is this a bug or please point me the right direction here.

Best Regards,
Hungd

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the problem in the Snap.js demo by opening the panel and tapping the menu-stack control to close it. Trace the panel-close and touch handling from the demo entry point; done means closing the panel no longer activates the overlapping alert button.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, mobile
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.