Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Side menu drag-content conflicts with horizontal ion-scroll #1418

Closed
pennersr opened this issue May 16, 2014 · 4 comments
Closed

Side menu drag-content conflicts with horizontal ion-scroll #1418

pennersr opened this issue May 16, 2014 · 4 comments
Assignees

Comments

@pennersr
Copy link

See:

http://codepen.io/anon/pen/BbdJv

The red box is of type ion-scroll, and hence should be scrollable. Currently it is not. If the sidemenu drag-content is put to false it becomes scrollable again.

@ajoslin
Copy link
Contributor

ajoslin commented May 19, 2014

I'm not sure what we should do in this kind of situation.

Should scroll containers stopPropagation of touch events?

@adamdbradley what do you think?

@adamdbradley
Copy link
Contributor

Stopping propagation and/or preventing the default can easily have some negative side effect (taps won't work, keyboard won't show, scroll doesn't work, etc). In your case you want a horizontal scrollable area that can scroll when you swipe left and right, but it is also on top of a side menu which you open up either swiping left or right. I'd try to avoid this scenario as it may cause many other UX issues. We'll close this issue for now, but will keep an eye out of ways to improve this scenario. Thanks.

@ivancamilov
Copy link

Issue #1725 is somewhat related to this. The referenced codepen is probably what you're looking for if you came here via Google.

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 6, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants