Wrong border-bottom of the last <ion-input> inside a <ion-list>
See original GitHub issueIonic version: (check one with “x”) (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1) [ ] 2.x [x] 3.x [ ] 4.x
I’m submitting a … (check one with “x”) [x] bug report [ ] feature request
Current behavior:
The last input on a form inside a <ion-list>
shows at longer boder-bottom than the previous ones in Android.
Expected behavior: All of them should be the same.
Steps to reproduce:
Use this page template to reproduce the issue:
<ion-header>
<ion-navbar>
<ion-title>Form test</ion-title>
</ion-navbar>
</ion-header>
<ion-content>
<ion-list>
<ion-item>
<ion-label>First input</ion-label>
<ion-input></ion-input>
</ion-item>
<ion-item>
<ion-label>Another input</ion-label>
<ion-input></ion-input>
</ion-item>
<ion-item>
<ion-label>One more input</ion-label>
<ion-input></ion-input>
</ion-item>
</ion-list>
</ion-content>
You get something like the image below (highlighted what I’m referring to):
Related code:
https://stackblitz.com/edit/ionic-idg4tc - Check pages/home/home.html
.
Ionic info: (run ionic info
from a terminal/cmd prompt and paste output below):
cli packages: (C:\Users\Ivan.Perez\AppData\Roaming\npm\node_modules)
@ionic/cli-utils : 1.13.1
ionic (Ionic CLI) : 3.13.2
global packages:
cordova (Cordova CLI) : 7.0.1
local packages:
@ionic/app-scripts : 1.3.12
Cordova Platforms : none
Ionic Framework : ionic-angular 3.5.0
System:
Node : v6.11.0
npm : 3.10.10
OS : Windows 7
Misc:
backend : legacy
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Wrong border-bottom of the last <ion-input> inside a <ion-list>
Current behavior: The last input on a form inside a <ion-list> shows at longer boder-bottom than the previous ones in Android. Expected behavior ......
Read more >How to remove item-inner border in ionic - Stack Overflow
The following is my solution, not sure whether it is work for all the cases, but at least for my project it is...
Read more >Remove bottom border from <ion-item> in Ionic 4
I'm trying to create a form that users will enter data into, and I'm using elements to contain the label and input for...
Read more >ion-item top and bottom borders - CodePen
@ionic/core@latest https://ionicframework.com/docs/ --> ... <ion-list>. 13. <ion-item>. 14. <ion-icon slot="start" name="trash"></ion-icon>.
Read more >Remove border from ion-item ionic 4
Hey @daveshirman, so the issue here is that the ion-item-group looks for the .item:last-child and removes the border when it finds it. Since...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Like this:
Guys, is there any solution for this? This is quite annoying!