I have some questions about the ion-item css and also some weird effects on Android.
For the purpose of following example, I removed all my custom css codes.
I use Crosswalk for Android and UIWebView for iOS.
The test code is the following:
<ion-header>
<ion-navbar>
<ion-title>TEST</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<ion-grid>
<ion-row>
<ion-col width-100>
<ion-item>
<ion-icon name="pin" item-left></ion-icon>
<ion-input type="text" placeholder="Test"></ion-input>
</ion-item>
</ion-col>
</ion-row>
<ion-row>
<ion-col width-100>
<ion-list>
<ion-item>
<ion-icon name="pin" item-left></ion-icon>
<ion-input type="text" placeholder="Test"></ion-input>
</ion-item>
</ion-list>
</ion-col>
</ion-row>
...
</ion-grid>
</ion-content>
In Chrome debug, this look like following:
So my first question is:
1 Why this difference between an ion-item with or without ion-list? Respectively, why the bottom line when field is selected isn’t be displayed the same way, doesn’t fill the all space like with using ion-list? Is there a special reason?
For my second questions, here’s a screenshot of the App on Android (6.0):
2 While running the app on my android phone, I noticed a weird left-margin (sometimes even just a half sized left-margin) which I didn’t while debugging. Anyone noticed that too? Any clue how to solve it aka to doesn’t display that glitch?
And the screenshots for iOS
3 Is there a reason on iOS why, when a such field is selected, no bottom-line are displayed? Is that a common iOS best practice behavior? If not, how could I fix it?
Thx in advance for your feedback