Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

bug: Controls doesn't show #174

Open
oleksandr-potapov opened this issue Mar 24, 2020 · 0 comments
Open

bug: Controls doesn't show #174

oleksandr-potapov opened this issue Mar 24, 2020 · 0 comments

Comments

@oleksandr-potapov
Copy link

oleksandr-potapov commented Mar 24, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant