You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
Right now, new photos/images added are displayed but clicking on them does not open a preview. My assumption is that this is because images QueryList is not subscribed for changes and the fiv-gallery does not take into account if image(s) are added/removed.
Describe Preferred Solution
The dynamically added images must support click to open a preview.
Describe Alternatives
Subscribe to images QueryList changes and handle them accordingly. Right now I have to use showGallery flag and toggle it off and on to accomodate the changes but this makes the component to flicker when it is re-rendered.
Another use case is that the app needs to support deleting an image displayed in the preview. It should remove the image from the preview and who the appropriate images when the preview is dismissed.
ryaa
added a commit
to ryaa/ionic-4-components
that referenced
this issue
Jul 24, 2020
Feature Request
Describe the Feature Request
Support adding/removing fiv-gallery-image dynamically in the below use case
Right now, new photos/images added are displayed but clicking on them does not open a preview. My assumption is that this is because images QueryList is not subscribed for changes and the fiv-gallery does not take into account if image(s) are added/removed.
Describe Preferred Solution
The dynamically added images must support click to open a preview.
Describe Alternatives
Subscribe to images QueryList changes and handle them accordingly. Right now I have to use showGallery flag and toggle it off and on to accomodate the changes but this makes the component to flicker when it is re-rendered.
Related Code
See above
Additional Context
N/A
The text was updated successfully, but these errors were encountered: