primeng icon indicating copy to clipboard operation
primeng copied to clipboard

p-galleria autoPlay property renders twice

Open cardiosMircem opened this issue 1 year ago • 1 comments

Describe the bug

copy paste of the AutoPlay galleria example ([https://primeng.org/galleria#autoplay]) and this is what is shown Screenshot from 2024-08-28 11-34-50

Theme used is aura-dark-pink. With theme aura-light-pink I have the same behaviour.

Removing the AutoPlay property or clicking on it and the gallery is shown correctly.

Environment

Local environment primeflex: 3.3.1 primeicons: 7.0.0

Reproducer

No response

Angular version

18.2.0

PrimeNG version

17.18.9

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

22.4.0

Browser(s)

Chrome 127.0.6533.119 (Official Build) (64-bit)

Steps to reproduce the behavior

copy paste of the AutoPlay galleria example available in the primeng docs ([https://primeng.org/galleria#autoplay]) into your angular 18 app

Expected behavior

The autoplay should render only one image instead of two (both in the main view and in the thumbnails) like this Screenshot from 2024-08-28 11-44-35

cardiosMircem avatar Aug 28 '24 10:08 cardiosMircem

We have the same problem. And with Version 18 beta3 there are still 2 images, but this time the layout is correct but the 2 images are only half visible.

@cardiosMircem Did you try Angular v17? Or 18.0/18.1? Afaik primeng v17.18+ is only a Angular v18 compatibility patch but not official supporting Angular v18+ 🤔

Even though, the problem still exists in v18-beta3 and Angular v18.2.

Braincompiler avatar Oct 24 '24 09:10 Braincompiler

Due to PrimeNG team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. :sparkles: Thank you for your contribution! :sparkles:

github-actions[bot] avatar Dec 04 '24 10:12 github-actions[bot]