cloudfour / cloudfour/offCanvasMenu

Clicking on content when menu is open should close the menu

Open
#30 9 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
CoffeeScript
Stars
139
Forks
23
PR merge metrics
No merged PRs in 30d

Description

I think it would be an enhancement, if clicking on content when menu is open would close the menu. This is the known behavior from Facebook. Currently the only way to close the menu is to click on the trigger again.

Optionally swiping could also close and maybe even open the menu. This is also the behavior known from Facebook.

I think providing options for each of these behaviors would be very nice.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the CoffeeScript plugin entry point and the jQuery/Zepto event handling for the open menu. Check how the trigger currently closes it, then determine the intended content-click behavior and whether swipe support and configurable options are in scope; done means the selected interactions close or open the menu as specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
coffeescript, jquery
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.