If `isOpen` is set as `true` from the start, the images don't get loaded, only the spinner gets displayed.
See original GitHub issueVersion: “react-images”: “^0.5.16”,
Steps to reproduce the behavior:
Set isOpen
as true
from the start.
<Lightbox images={ images } onClose={ onCloseRequest } onClickPrev={ this.gotoPrevious } onClickNext={ this.gotoNext } currentImage={ currentImage } isOpen={ true } />
Expected behavior: The lightbox is open after page load, with the first image displayed.
Actual behavior: The lightbox is open after page load, but the images don’t get loaded, only the spinner gets displayed. No error is displayed in the console.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to display loading image while actual ... - Stack Overflow
I want to show a busy image while the actual image is downloading, and when the image is downloaded, the busy image is...
Read more >Setting "LoadingSpinner" property of Gallery does nothing.
The problem was that the DelayItemLoading was set to false. It set it to true and now the Loading Spinner is visible. View...
Read more >Loading | Application Loading Indicator Overlay | ion-loading
The ion-loading overlay indicates activity while blocking user interaction. The loading indicator appears on top of the app's content, and can be dismissed....
Read more >JavaScript · Bootstrap
js contain all plugins in a single file. Include only one. Plugin dependencies. Some plugins and CSS components depend on other plugins. If...
Read more >How To Fix Cumulative Layout Shift (CLS) Issues
The Cumulative Layout Shift metric is causing trouble to a lot of sites, ... reflect the CLS as they calculate only the initial...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@neptunian yep, I’ll take a look this weekend. 👍
@veronicaPop @neptunian
I’ve fixed this issue in #207. This was a dumb error with type casting in JavaScript. 😄