ionic-4-components icon indicating copy to clipboard operation
ionic-4-components copied to clipboard

bug: Controls doesn't show

Open oleksandr-potapov opened this issue 4 years ago • 0 comments

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.

oleksandr-potapov avatar Mar 24 '20 22:03 oleksandr-potapov