Replies: 1 comment 5 replies
-
Hi @lenpino! Can you provide a stackblitz or code example? I suspect the error is about object references. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. How can I reset the items on a p-galleria?. I have a dialog that contains a component that has a p-galleria. The problem I have is that when I close the dialog from a parent component, and then I open the dialog again (these are products, each time the diaplog opens, shows the details of the product), for a second I can see the image of the previous product and the thumbs are messed up when the number of images are different between products.
I need to find a way to restore the initial state of the p-galleria. Simply by reseting the items array, does not work
PS. I'm refreshing the child component using ngOnChanges and it works just fine
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions