reacteu-app icon indicating copy to clipboard operation
reacteu-app copied to clipboard

Question: production cordova config?

Open Huxpro opened this issue 10 years ago • 0 comments

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

Huxpro avatar Sep 04 '15 15:09 Huxpro