Roderick Gadellaa created CB-11601:
--------------------------------------

             Summary: Html/body scrolls when overflow-y is set to hidden
                 Key: CB-11601
                 URL: https://issues.apache.org/jira/browse/CB-11601
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 6.2.0
         Environment: At least Android 5.1 (Moto X 2013) up until Android 
Nougat Preview 5 (Pixel C)
            Reporter: Roderick Gadellaa
            Priority: Minor


I have a script that disables scrolling by setting 
$("html").css("overflow-y","hidden"). This works in Chrome (desktop and 
android) but doesn't when I embed this in a cordova app. I did notice that the 
scroll behaviour is a bit non-standard as it stops scrolling as soon as you let 
go (where android typically keeps the momentum of the scroll and then slowly 
stops).

I have an apk of the app here:
https://stor4ge.rejh.nl/_stored/res/cordova-issues/cordova-android-overscroll-y-issue.apk

You can reproduce this by opening the app, tapping the hamburger menu and then 
swiping up and down anywhere on the screen. The content does need to have more 
content than fits the screen obviously but the home section should have this.

This might have to do with an issue in the chromium webview but since it is 
very close to Chrome for Android I'm inclined to think it's not so that's why 
I'm putting this here.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to