-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
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
Steps to reproduce
- Open new article editor: https://www.ubyssey.ca/admin/articles/new/
- Click on Featured Image tab
- Click on "Select Image" button
- 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
