-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
overflow-scroll="true" not working on android #179
Comments
Thanks for letting us know, I'll take a look and get that fixed! Which On Fri, Nov 22, 2013 at 8:10 PM, tzaavi notifications@github.com wrote:
|
Samsung S4 It looks like something prevent the drag event. If I remove the javascript reference and just use the css file and HTML it’s working fine. |
I tested it with the latest from master and it’s still not working. |
Okay, thanks for doing that. I will take a look here and see what might be On Sat, Nov 23, 2013 at 9:19 AM, tzaavi notifications@github.com wrote:
|
I did some testing and I narrow it down to gestures. If I comment this line in js/utils/gestures.js (line 334) then it works
|
Yep, looks like the gesture system is calling event.preventDefault inside of the Drag gesture handler. Basically, there is a drag gesture listened somewhere, and it's not checking if the element is the target. That needs to be fixed, seems like a bug from hammer.js which we use. |
I tested the fix but it’s still not scrolling for me. Only work when scroll with 2 fingers. |
Odd, it was just working for me. Reopening and taking another look. |
I found a fix that work for me: In ionicSlideMenu.js in sideMenuContent directive, instead of using drag event I’m using dragright and dragleft. This solution not blocking the vertical scrolling while still let the use drag the menu left and right. replace
with
replace
with
|
Thanks, I like that solution. Just tested it on the Nexus 4 and other devices and it works well now. Let me know if there are any other things that pop up. |
Was this solved? I have overflow-scroll='true' set because I need to horizontally scroll wide tables, and It breaks vertical scroll. |
i solved with a litle hard code in CSS hope to be helpfull :-D Paz from DR |
Patrick 23.03.2015, 23:41, "Patrick" notifications@github.com:i solved with a litle hard code in CSS hope to be helpfull :-D Paz from DR —Reply to this email directly or . |
I'm setting the content directive to use the native scroll [overflow-scroll="true"] and it's not scrolling on android.
The text was updated successfully, but these errors were encountered: