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
Suggested solution in pull request #362
Uses similar approach to ng-class. So you would set for example ng-repeat="item in yourList" item-type="{'item-divider':item.isDivider}"
The problem is that dividers are not styled properly and their content is being wrapped by 'a' tags. It might have also something to do with the styling of the 'item-complex' class that has been added. It adds a padding to the item content which make the link's active state also not cover the whole item... Maybe I should open another issue for this...
Activity
matiboy commentedon Jan 3, 2014
Suggested solution in pull request #362
Uses similar approach to ng-class. So you would set for example ng-repeat="item in yourList" item-type="{'item-divider':item.isDivider}"
adamdbradley commentedon Jan 13, 2014
Recommend using ng-class instead:
thomasjonas commentedon May 26, 2015
I have the feeling this is still not completely solved. Maybe it's just an edge case when using ion-list, ion-item and collection-repeat? I made a codepen to illustrate my problem: http://codepen.io/anon/pen/bdBWMG
The problem is that dividers are not styled properly and their content is being wrapped by 'a' tags. It might have also something to do with the styling of the 'item-complex' class that has been added. It adds a padding to the item content which make the link's active state also not cover the whole item... Maybe I should open another issue for this...
gslender commentedon Jan 7, 2016
+1 would love to see this resolve and/or at least opened again as it isn't 100% fixed
gslender commentedon Jan 7, 2016
This is a solution I think might solve the problem.... http://codepen.io/anon/pen/wMdMqv