css3 - Accordion using AngularJS and CSS animations -


using angular js animate , css animation, trying create expand/collapse (accordion) similar bootstrap collapse seen here: http://getbootstrap.com/javascript/#collapse

i have issue expandable items, pop , forth depending on height of expanded "show" content. see plunker more visual

my work far:

var expandcollapseapp = angular.module('expandcollapseapp', ['nganimate']);  expandcollapseapp.controller('expandcollapsectrl', function ($scope) {     $scope.active = true;     $scope.active1 = true;     }); 

http://plnkr.co/edit/wbysfm?p=info

you should use ui bootstrap accordion. component written in pure angularjs.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -