Hacker News new | past | comments | ask | show | jobs | submit login

Don't get me wrong, I'm loving the experience so far and my "simple" comment refers to my skill level.

I did have a couple issues finding answers. Since you've commented, I'll post a couple here but I'll try to add them to the forum.

* Setting webviewbounce, UIWebViewBounce to false in the config.xml doesn't get respected by the framework. You have to manually add the attribute has-bouncing="false" to the ion-content tags to stop the bouncing.

* The helper ionic.Platform.fullScreen(); to hide the status bar initially flickers on first load of a fresh build. I'm currently trying to figure out how to hide the status bar on initial build. http://stackoverflow.com/questions/23553220/how-to-completel...

* I was a little confused using ui-view vs. ion-view. (I think)

Thanks for taking the time to comment!




Hey thoughtpalette,

WebView bouncing is a vague term and I'm not exactly sure which you are referring to. If you're talking about the entire frame, it's now "DisallowOverscroll" in the Cordova config. If you use the ionic utility you'll get the correct config for a new project.

To hide the status bar, use the status bar plugin (org.apache.cordova.statusbar) and call StatusBar.hide(): https://github.com/jonathannaguin/org.apache.cordova.statusb...

The ui-view vs ion-view discussion: use ion-view. We basically have a custom ui-router implementation with multi-stack routing.

Hope that helps, and I'll look into our docs to make this all more clear.


Thanks for responding!

I did use the DisallowOverscroll in my config, I still had to manually add has-bouncing=true to every ion-content tag.

These are the values I tried:

    <preference name="fullscreen" value="true" />
    <preference name="webviewbounce" value="false" />
    <preference name="UIWebViewBounce" value="false" />
    <preference name="DisallowOverscroll" value="true" />
The issue with the status bar is even using that plugin (which I have working now thanks to the forums) there is a flicker on initial load of the app when it hides. Still can't figure out how to get rid of that.

Thanks again though for answering!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: