Skip to content

Commit

Permalink
fix(core): dynamic page should not add scrollbar directive if there i…
Browse files Browse the repository at this point in the history
…s a tablist (#9317)

Co-authored-by: Inna Atanasova <39598672+InnaAtanasova@users.noreply.github.com>
  • Loading branch information
mikerodonnell89 and InnaAtanasova authored Feb 8, 2023
1 parent 7d0274d commit a83f1d2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libs/core/src/lib/dynamic-page/dynamic-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@
</header>

<ng-content select="fd-tab-list"></ng-content>
<div fd-scrollbar>

<div fd-scrollbar *ngIf="!_tabComponent">
<ng-content select="fd-dynamic-page-content"></ng-content>
</div>

<div *ngIf="_tabComponent">
<ng-content select="fd-dynamic-page-content"></ng-content>
</div>

Expand Down

0 comments on commit a83f1d2

Please sign in to comment.