New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ion-item lines="none" in ion-list lines="full" not working as expected #16900
Comments
Thanks for your issue! ion-list has higher priority. So by adding lines="full" to list, this will overwrite the item. Just add lines="full" to ion-item:
I cannot say if this is the correct behaviour, so I add @brandyscarney who can maybe help here :) |
I would suggest children will be the highest priority. Parent(ion-list) set the most behavior for the children and specify children(ion-item) can override over parent |
I agree with this. In fact, it does work like this for the other values of I'll add this as a bug to fix. Thanks! |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Bug Report
Ionic version:
[x] 4.x
Current behavior:
ion-item line="none" has bottom border
Expected behavior:
ion-item line="none" doesn't have bottom border
Steps to reproduce:
Related code:
Other information:
Currently fix by manually with the code below.
Ionic info:
The text was updated successfully, but these errors were encountered: