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
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
I'm using the following markup two output data in 2 columns:
<divdata-ng-repeat-start="forecast in upcoming.forecasts"></div><divdata-ng-class="clearfix" data-ng-repeat-end="" data-ng-if="!$even"></div>
It works well on the first load but when I dynamically change my upcoming.forecasts array all my clearfix divs end up at the bottom of the container, looks something like this:
<divdata-ng-repeat-start="forecast in upcoming.forecasts"></div><divdata-ng-repeat-start="forecast in upcoming.forecasts"></div><divdata-ng-repeat-start="forecast in upcoming.forecasts"></div><divdata-ng-repeat-start="forecast in upcoming.forecasts"></div><divdata-ng-repeat-start="forecast in upcoming.forecasts"></div><divdata-ng-repeat-start="forecast in upcoming.forecasts"></div><divdata-ng-class="clearfix" data-ng-repeat-end="" data-ng-if="!$even"></div><divdata-ng-class="clearfix" data-ng-repeat-end="" data-ng-if="!$even"></div><divdata-ng-class="clearfix" data-ng-repeat-end="" data-ng-if="!$even"></div>
The text was updated successfully, but these errors were encountered:
This is a known bug. And at the moment unfortunately there isn't a workaround other than placing the IF and REPEAT directives on separate elements. Please take a look at this: #3584 (comment)
I'm using the following markup two output data in 2 columns:
It works well on the first load but when I dynamically change my upcoming.forecasts array all my clearfix divs end up at the bottom of the container, looks something like this:
The text was updated successfully, but these errors were encountered: