ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
51.1k stars 13.51k forks source link

bug: ng-view and ion-nav-view only work on IBM MobileFirst when using beta.1 version of ionic.css #3475

Closed bbkoay closed 9 years ago

bbkoay commented 9 years ago

Type: bug

Platform: all

Both ng-view and ion-nav-view only work on MobileFirst when using the ionic.css file v1.0.0-beta.1, they do not work when using other versions of ionic.css.

perrygovier commented 9 years ago

Hey @bbkoay, we don't have IBM MobileFirst set up here. Do you get any console errors? Note, the JS and CSS versions must match. Are you able to narrow it down to a specific commit that broke it?

bbkoay commented 9 years ago

Hi @perrygovier, thank you for your reply. There are no console errors. The ionic JS and CSS versions that I'm using on IBM MobileFirst right now is v1.0.0-rc.3 "radium-raccoon". I'm not sure what exactly is the issue, but I found out that if I exclude the declaration of <!DOCTYPE html> from index.html, the views worked perfectly. The other alternative is to remain the declaration of <!DOCTYPE html>, but using the beta.1 version of ionic.css instead of other latest versions.

perrygovier commented 9 years ago

What do you mean by not work? like they wont load templates at all? if you inspect the dom, do the pages exist but just aren't displayed?

bbkoay commented 9 years ago

@perrygovier yes, you are right. The pages exist but just aren't displayed.

Ionitron commented 9 years ago

Greetings @bbkoay!

I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.

Thank you for allowing me to assist you.