ionic-4-components
ionic-4-components copied to clipboard
bug: Controls doesn't show
Controls don't show when using an example from docs.
<fiv-gallery #gallery>
<ion-row>
<ion-col size="12">
<fiv-gallery-image [src]="image1"></fiv-gallery-image>
</ion-col>
<ion-col size="12">
<fiv-gallery-image [src]="image2"></fiv-gallery-image>
</ion-col>
</ion-row>
<fiv-gallery-toolbar position="top">
<ion-toolbar color="transparent">
<ion-buttons slot="end">
<ion-button (click)="gallery.close()">
<ion-icon slot="icon-only" name="close"></ion-icon>
</ion-button>
</ion-buttons>
</ion-toolbar>
</fiv-gallery-toolbar>
</fiv-gallery>
If I am using this approach
<fiv-gallery-toolbar-content></fiv-gallery-toolbar-content>
<fiv-gallery-image [src]="image1"></fiv-gallery-image>
<fiv-gallery-image [src]="image2"></fiv-gallery-image>
</fiv-gallery>
I can see controls, but above images and not when image is cliked.