Reputation: 55
IONIC 4 app changes styles after refreshing the view.
The issue can even be replicated on a simple IONIC 4 default demo app which can be created by the following command: "ionic start blablabla tabs --type=angular".
After the app is launched it has one set of styles, then after simply just refreshing the view (ctrl+R/cmd+R) it has different styles. What is the reason for this and how I could fix it?
The following link is a screenshot of the issue, on the right hand side is the expected styles that should be applied and on the left are the ones that are applied after the refresh:
[1] : https://i.sstatic.net/VUBkl.jpg
ionic info:
Thanks!
Upvotes: 0
Views: 795
Reputation: 3878
The two different views are normal, they represent MD and IOS styles.
For example look at the two icons:
You can change the styles if you select a android or ios device in the inspector in your browser and refresh the page.
Upvotes: 2