You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2016/07/26 16:07:20 UTC

[jira] [Commented] (CB-11601) Html/body scrolls when overflow-y is set to hidden

    [ https://issues.apache.org/jira/browse/CB-11601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15394009#comment-15394009 ] 

Joe Bowser commented on CB-11601:
---------------------------------

This is definitely a Chromium issue, since we really don't do anything to the Chromium.  Have you tried this with Crosswalk? 

> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org