# タッチスクリーン対応のデスクトップでのみ、モバイルビューでハンバーガーメニューをスライド表示

**URL:** <https://meta.discourse.org/t/slide-in-hamburger-menu-in-mobile-view-only-on-touchscreen-mouse-desktops/107793>\
**Category:** Development\
**Created:** [2019 年 1 月 29 日午前 5:00 UTC](https://meta.discourse.org/t/slide-in-hamburger-menu-in-mobile-view-only-on-touchscreen-mouse-desktops/107793 "2019-01-29T05:00:01Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)\
**Post date:** [2019 年 2 月 4 日午後 4:31 UTC](https://meta.discourse.org/t/slide-in-hamburger-menu-in-mobile-view-only-on-touchscreen-mouse-desktops/107793/23 "2019-02-04T16:31:54Z")

</div>

This should fix your case here - I’ve improved the event handlers on this so pan events are now only registered on touch events 🍅

[https://github.com/discourse/discourse/commit/9de906ddab3e440ef5ee1e9cf04aa1ae20757d31](https://github.com/discourse/discourse/commit/9de906ddab3e440ef5ee1e9cf04aa1ae20757d31)

---

_[View the full topic](https://meta.discourse.org/t/slide-in-hamburger-menu-in-mobile-view-only-on-touchscreen-mouse-desktops/107793)._
