You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Bug
We try to use your ion-card and sub components using alpha.7 with latest beta documentation.
We also created a demo repo https://github.com/mburger81/ionic4-tests where you can navigate to Cards menu to see bugs and simulate them.
This is what we have figured out, or we think we have figured out :)
You can use ion-card-subtitle before ion-card-title, but this should be a wrong usage and probably you can avoid this by using slots, right? In this case it would be independent from the order you list it in code, we found this bug on your first card example in docs https://beta.ionicframework.com/docs/api/card
The ion-card-header on MD should be 20px instead of 24px, right?
setting color attribute to ion-card-header does not have any effect, perhaps color attribute is already documented on docs but not implemented on alpha.7?
We are not sure how to use ACTIONS in ion-card-header, perhaps we are missing something or there is a bug, but having a look to your documentation we found this out
we should use ion-item in ion-header if we wan' to use buttons, wrapping ion-card-title and ion-card-subtitle in ion-label
if we use ion-item in ion-card-header the padding is completely different from first example, which should be the right padding
The text was updated successfully, but these errors were encountered:
I have the same problem with <ion-card-header color="...">, using 4.0.0-beta.7.
However, it was helping to set the color attribute for the card itself: <ion-card color="...">. This changed the color of the header...
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.
Describe the Bug
We try to use your
ion-card
and sub components usingalpha.7
with latest beta documentation.We also created a demo repo https://github.com/mburger81/ionic4-tests where you can navigate to
Cards
menu to see bugs and simulate them.This is what we have figured out, or we think we have figured out :)
ion-card-subtitle
beforeion-card-title
, but this should be a wrong usage and probably you can avoid this by using slots, right? In this case it would be independent from the order you list it in code, we found this bug on your first card example in docs https://beta.ionicframework.com/docs/api/cardion-card-header
on MD should be 20px instead of 24px, right?color
attribute toion-card-header
does not have any effect, perhaps color attribute is already documented on docs but not implemented onalpha.7
?ACTIONS
inion-card-header
, perhaps we are missing something or there is a bug, but having a look to your documentation we found this oution-item
inion-header
if we wan' to use buttons, wrappingion-card-title
andion-card-subtitle
inion-label
ion-item
inion-card-header
the padding is completely different from first example, which should be the right paddingThe text was updated successfully, but these errors were encountered: