@rgins16 Opera and Chrome use the same engine so there shouldn’t be problems. About IE I’m not so sure, probably there are components like ons-range that do not work well due to technology/CSS limitations in IE. We can try to fix bugs reported but it is not a priority (of course, PRs are welcome).
@Fran-Diox No it’s not like that. I see that Monaca have strong structure of the projects’f folders and files and Monaca have some expectations from imported Cordova projects.
For example content of Meteor .meteor\local\cordova-build\ folder doesn’t have index.html file in \www\ subfolder ( this file stored in \www\application\ subfolder). Also in Meteor’s Cordova project resources files (icons and splashscreens) stored in resources folder instead Monaca’s res folder.
So, when you import this project to the Monaca you see stub index.html generated by Monaca in www folder, you see new res folder with standard Monaca icons and splashscreens, also <content src=""/> in the config.xml replaced from Meteor’s entry point to newly generated \www\index.html, and some other strange things
Thanks for your replies. @Fran-Diox, I had also tried calling the method in the postPush event before doing the then function.
Now I noticed this problem again with form inputs. Here’s an example:
document.getElementsByClassName('postText').length // returns 1 when the page is first loaded
document.getElementsByClassName('postText').length // returns 2 when the page is loaded again.
For the time being I can simply select the last element by class name, but I’m afraid of performance drawbacks. Plus, the “clever hacks” in the code are too much.
@David-Hope I took a look at your problem and what’s causing it is a timing issue. For instance that doesn’t happen to me locally with Onsen UI’s latest version but it does happen with the same latest version in the tutorial app due to the way the library is loaded and so on. There is no easy fix for now, what I can suggest (and I know is nowhere near ideal) is to wait for the element to load and then use the setActiveIndex(index, [options]) method to change to your intended item.