Skip to content

Commit

Permalink
fix(mapOverlay): move up if expansionPanel is expanded
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Sep 20, 2019
1 parent c421c96 commit 4a3a4d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/pages/portal/portal.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
</igo-baselayers-switcher>
</igo-map-browser>

<app-map-overlay [@controlStateY]="toastShown ? (toastOpened ? 'up' : 'down') : 'close'"
<app-map-overlay
[@controlStateY]="expansionPanelExpanded ? 'up' : 'down'"
[@controlStateX]="(mediaService.media$ | async) !== 'mobile' &&
sidenavOpened ? 'right' : 'left'">
</app-map-overlay>
Expand Down

0 comments on commit 4a3a4d8

Please sign in to comment.