cloudfour / cloudfour/offCanvasMenu

Clicking on content when menu is open should close the menu

オープン
#30 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
CoffeeScript
スター
139
フォーク
23
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、CoffeeScript プラグインのエントリーポイントと、開いているメニューに対する jQuery/Zepto のイベント処理を特定します。現在 trigger がどのようにメニューを閉じているかを確認し、次にコンテンツクリック時に意図されている動作と、swipe のサポートおよび設定可能なオプションがスコープに含まれるかを判断します。完了とは、選択されたインタラクションによって、指定どおりにメニューが閉じる、または開くことです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
coffeescript, jquery
領域
frontend
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。