react-awesome-lightbox icon indicating copy to clipboard operation
react-awesome-lightbox copied to clipboard

Gets stuck in loading spinner for array of images

Open migom6 opened this issue 3 years ago • 7 comments

migom6 avatar Mar 25 '21 13:03 migom6

+1 Gets stuck on loading when I use "Next" and "Previous" option

abhinavchawla13 avatar May 14 '21 03:05 abhinavchawla13

Stuck in loading spinner if duplicate image exists

andrew8bit avatar Jul 08 '21 20:07 andrew8bit

Stuck in loading spinner when images array has only one entry and "next" and "previous" arrows are used

rrajaste avatar Jul 15 '21 11:07 rrajaste

Thanks for the issue report. I am working on a fix. should be fixed in v3

theanam avatar Aug 21 '21 14:08 theanam

Have you fixed it yet? There isn't new version since August

thinguyen-xplor avatar Dec 03 '21 03:12 thinguyen-xplor

Used this trick:

const [key, setKey] = useState(false);

useEffect(() => { setTimeout(() => setKey(key + 1)); }, [isOpen]);

<Lightbox key={key}

parsagholipour avatar Jun 24 '22 01:06 parsagholipour

a year later and issue still persists

DenisCor avatar Aug 24 '22 13:08 DenisCor