当手风琴嵌套在另一个手风琴中时,儿童手风琴不会扩展其父级的高度。 请有人告诉我,我该如何解决它?
我有以下代码:
<uib-accordion>
<uib-accordion-group is-open="status.open">
<uib-accordion-heading>
Parent Accordion <i class="pull-left glyphicon" ng-class="{'glyphicon glyphicon-minus': status.open, 'glyphicon glyphicon-plus': !status.open}"></i>
</uib-accordion-heading>
<uib-accordion>
<uib-accordion-group is-open="nest1.open">
<uib-accordion-heading>
Nested Accordion 1 <i class="pull-left glyphicon" ng-class="{'glyphicon glyphicon-minus': nest1.open, 'glyphicon glyphicon-plus': !nest1.open}"></i>
</uib-accordion-heading>
</uib-accordion-group>
<uib-accordion-group is-open="nest2.open">
<uib-accordion-heading>
Nested Accordion 2 <i class="pull-left glyphicon" ng-class="{'glyphicon glyphicon-minus': nest2.open, 'glyphicon glyphicon-plus': !nest2.open}"></i>
</uib-accordion-heading>
</uib-accordion-group>
</uib-accordion>
</uib-accordion-group>
</uib-accordion>
谢谢。