dispatch icon indicating copy to clipboard operation
dispatch copied to clipboard

ImanageManager doesn't load new images

Open jumbosushi opened this issue 6 years ago • 0 comments

What behavior were you expecting?

When I scroll toward the bottom of the images inside ImageManager (aka Image Modal), it should request new images & reload UI

What actually happened?

While there is a new request happening, it's now updating the UI. It is stuck with "Loading ..." then keep making requests

load_error

Steps to reproduce

  1. Open new article editor: https://www.ubyssey.ca/admin/articles/new/
  2. Click on Featured Image tab
  3. Click on "Select Image" button
  4. Within the ImageManager modal, scroll all the way down

What was your environment like?

Chrome on Ubuntu 16.04

Ideas

The main logic is in modals/ImageManager/index.js. The component seems to correctly detect & fetch new images, but not updating the UI. I suspect it's the this.props.images not being properly updated

Check out this line to see how images are being rendered

jumbosushi avatar May 03 '19 01:05 jumbosushi