Foundation and AngularJS -
i modifying application using zurb's foundation framework responsiveness , angularjs. there bug data displayed in table <tr ng-repeat="obj in entries">...</tr>
has <td>
's hidden/shown based on foundation's responsive rules. unfortunately, when angular model updated, foundation doesn't re-flow newly rendered dom.
i have tried using $(document).foundation('table')
found in extensive google searching, didn't trigger reflow of responsive collapsed table. added directive trigger simple $(window).trigger('resize')
works first call, subsequent calls not.
anybody else run this?
you mixing 2 technologies dont play nice together.
the js assets provided zurb foundation inevitably have conflicts digest cycle in angularjs. reason --- angular-bootstrap projects emerged transform jquery plugins angularjs directives.
http://angular-ui.github.io/bootstrap/
i don't believe same level of support, "if any", offered zurb foundation.
Comments
Post a Comment