cloudfour / cloudfour/offCanvasMenu
Clicking on content when menu is open should close the menu
- 主要言語
- 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