mdb-squeezebox animation not working in mdb-tab


Topic: mdb-squeezebox animation not working in mdb-tab

Dharmen Milestone asked 7 years ago

If we use mdb-squeezebox inside mdb-tabset>mdb-tab, the animation is not working in mdb-squeezebox

Dharmen Milestone commented 7 years ago

You can check it with https://mdbootstrap.com/angular/components/tabs/#classic-tabs and put https://mdbootstrap.com/angular/advanced/collapse/#accordion in any of the tab. Animation is not working.

Damian Gemza staff answered 7 years ago

Dear Dharmen Milestone, I'm unable to reproduce that case. Please check my code. For me, every animation works there like a charm. .html:
<div class="container">

<!-- Nav tabs -->

<mdb-tabset [buttonClass]="'classic-tabs tabs-cyan'" [contentClass]="'card'"class="classic-tabs">

<!--Panel 1-->

<mdb-tab heading="Profile">

<div class="row">

<div class="col-12">

<!--Accordion wrapper-->

<mdb-squeezebox [multiple]="false"aria-multiselectable="true">

<mdb-item [collapsed]="false" *ngFor="let item of itemsList">

<mdb-item-head> {{ item.title }} </mdb-item-head>

<mdb-item-body> {{ item.description }} </mdb-item-body>

</mdb-item>

</mdb-squeezebox>

<!--/.Accordion wrapper-->

</div>

</div>

</mdb-tab>

<!--Panel 2-->

<mdb-tab heading="Follow">

<div class="row">

<div class="col-12">

<br>

<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis

molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit

minima.</p>

<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis

molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit

minima.</p>

</div>

</div>

</mdb-tab>

<!--Panel 3-->

<mdb-tab heading="Contact">

<div class="row">

<div class="col-12">

<br>

<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis

molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit

minima.</p>

</div>

</div>

</mdb-tab>

<mdb-tab heading="Be awesome">

<div class="row">

<div class="col-12">

<br>

<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis

molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit

minima.</p>

</div>

</div>

</mdb-tab>

</mdb-tabset>

</div>
.ts:
public itemsList: Object[] = [

{

title:'Collapsible Group Item #1',

description:'Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.'

},

{

title:'Collapsible Group Item #2',

description:'Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.'

},

{

title:'Collapsible Group Item #3',

description:'Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.'

}

];
Best Regards, Damian
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No