feat(sidenav): add swipe functionality
See original GitHub issueBug, feature request, or proposal:
Feature request
What is the expected behavior?
It’d be great to have the functionality of swipe in md-sidenav
, like in https://material.io/guidelines/.
What are the steps to reproduce?
Open https://material.io/guidelines/ in mobile and see how the swipe on menu
works.
Is there anything else we should know?
The same feature request was requested in material(1) here and at some point it was implemented, but not merged.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:56
- Comments:39 (6 by maintainers)
Top Results From Across the Web
Developers - feat(sidenav): add swipe functionality - - Bountysource
Add the same swipe functionality behavior as ion-side-menus to open sidenav not just with click but with swipe left (or right). Awesome work!...
Read more >How add custom swipe navigation for mostslider jQuery plugin?
I am using the mostslider.js jquery Plugin. I need to add swipe navigation for the slider in mobile view, sadly mostslider doesn't support...
Read more >Angular Material: Sidebar Open on Swipe - DEV Community
In part 3, we are going to add swipe to left open sidebar feature. In order to accomplish this task there are three...
Read more >Blogging - Marketing & Copywriting Examples - Swipe-Worthy
View Swipe. “Content Recommendation” Ad Tactics (Image-Based) ... Swipe Study. Sidebar Opt-In Form from Quick Sprout ... Feature Box from Social Triggers.
Read more >Obscure Mobile Design Techniques That Boost UX
In addition to all of the swiping functionality that we've become ... However, V for Wiki has made it even more accessible by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Swoox’s solution didn’t work for me, but brought me to hammerjs and this solution:
app-container.component.scss
app-container.component.html
app-container.component.ts
It works as long as the content doesn’t exceed the width of 100%, otherwise it will scroll the page and open the menu.
We do plan on doing this.