I implemented a side menu which renders fine on the browser. But when I test it on the device, it disappears after a while (specifically, it fades out). However all the items on it are clickable and otherwise, it works.
It works fine on the Nexus where the background loads up on issuing a command, but fails with the S3 where the background fades in and the side menu fades out.
Well since 0.9.26, there has been some significant api changes and fixes. I recommend you update to the latest version, 1.0 beta, and take some time to look at the change in markup.
Will do. I’m assuming this will break a lot of my old UI? Also, is there a CLI call to update the version, or do I have to download the latest version and replace my current ionic libraries?
The current release of the cli is up to date, it will pull the latest stable version, 1.0 beta. But to make sure your version of the cli is up to date, run this in your terminal
sudo npm update -g ionic
Then from there, you can follow this guid on how to set things up. There’s some changes in it and three templates you can start form, really awesome stuff.
There are going to be some rewrites here and there, mostly update names of functions and delegates, but there are going to be a lot of benefits to this. Ionic has had a lot of issues fixed and have improved performance.
IMO the process of having to update code will be worth it for a much more stable system.
Thanks again. Would you happen to have a logsheet with the big changes? So that we know which parts of the code need addressing instead of having to plough through everything.
Ok, I went ahead and updated to 1.0.0. I get the side view on Nexus 5 but still don’t get it on the S3.
After some more tinkering we found this to help.
Change postion:inherit for background image of main content. This will let the bg have the same css property as the main content area. Otherwise it leaks into the side menu area for S3 but not for Nexus (Inconsistent).