Skip to content

Question: production cordova config? #4

Description

@Huxpro

Hey, One more question~

You guys use -webkit-overflow-scrolling: touch to implement all awesome inertia scroll, which is really bold, efficient and clever move. But when I build this app with default config.xml, the result is out of my expect: the whole app can be scrolled and the status bar overlays the webView :(

Some magic cordova config must be set in the production version config.xml like that, I guess

<preference name="DisallowOverscroll" value="true" />
<preference name="StatusBarOverlaysWebView" value="false" />

I actually wonder how magic happened by combined -webkit-overflow-scrolling: touch and cordova config, to make a web app so nice never before, thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions