[v2] How to update PhotoBrowser when removing an image?

I’m using Photobrowser for an image gallery and the user can delete photos that they’ve uploaded. Here’s my delete function:

app.dialog.confirm('Are you sure you want to delete this image?', function () {	

The image is removed by swiper.removeSlide(), but the empty slide remains and swiping is confused by the missing slide. I was hoping that the PhotoBrowser component would be listening to swiper.update(), but that doesn’t seem to do anything.

Any ideas for how to get the PhotoBrowser to update?

Hi byron
This is something I need as well. Did you fix it? And how are you deleting the images in the photobrowser? If you have a sample perhaps :slight_smile: I would appreciate it. Thanks.