Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upbug: ion-list attribute "lines" not working when attribute "inset" is true #20819
Comments
|
Thanks for the issue. Can you provide a repo with the code required to reproduce this issue? I am unable to reproduce the issue using the code snippet provided. CodePen of ion-list: https://codepen.io/liamdebeasi/pen/LYVBVZb |
|
@liamdebeasi i see your codepen is working. --> when you serve the app, switch to iPad view using chrome browser:
|
|
Thanks for the follow up. I was able to reproduce the issue in my CodePen. It looks like this is related to #17425. As a temporary workaround you can do the following to items in a list with ion-list[inset=true][lines="none"] ion-item {
--border-width: 0 !important;
} |
Bug Report
Ionic version:
[x] 5.0.5
Current behavior:
When you create an
ion-listwithion-itemsand set the attributeinset="true"onion-list, the attributelineswont have any effect onion-item. Instead you'll always see full lines.Expected behavior:
attribute
linesonion-listshould work when attributeinset="true"is set.Steps to reproduce:
copy paste this snippet to any page:
lines="none",lines="inset"--> no effect.lines="full".lines="inset"?Other information:
Ionic info: