-
Notifications
You must be signed in to change notification settings - Fork 13.4k
bug: Item with Outline does not display properly when inside a List #24814
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
package: core@ionic/core package@ionic/core packagetype: buga confirmed bug reporta confirmed bug report
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
Current Behavior
Using an Item component inside a List with the fill set to Outline is rendered with a partial border.
Expected Behavior
The Item should display with the complete border when used with or without a List
Steps to Reproduce
Use the code below inside of an Ionic Application.
<ion-list lines="full">
<ion-item fill="outline" mode="md">
<ion-label position="floating">Ion Item Outline with List</ion-label>
<ion-input value=""></ion-input>
<ion-note slot="helper">Helper Text</ion-note>
<ion-note slot="error">Error Text</ion-note>
</ion-item>
</ion-list>
Code Reproduction URL
https://codesandbox.io/s/ion-item-with-outline-display-error-idyy8f
Ionic Info
Using custom elements version of Ionic.
Additional Information
I believe this CSS is overriding the Outline border-width css. If I uncheck it then the .item-fill-outline will be used and then display correctly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
package: core@ionic/core package@ionic/core packagetype: buga confirmed bug reporta confirmed bug report



