Update currentImageIndex on images array changes
Opened this issue · 0 comments
dFelinger commented
If visible is on and I remove item from images prop (i.g. delete button in footer component to remove item), currentImageIndex not changes. It causes wrong imageIndex in footer component after images length changes.