sachinchoolur / lightGallery

A customizable, modular, responsive, lightbox gallery plugin.
https://www.lightgalleryjs.com/
Other
6.55k stars 1.29k forks source link

React Carousel active thumbnail is not working #1667

Open jguillengo opened 1 month ago

jguillengo commented 1 month ago

Description

Hi team! I just found out that your React Carousel gallery is not updating the active thumbnail in any of the gallery navigation options, whether it is the next/previous buttons, keyboard left and right buttons, thumbnail clicks... It can be reproduced in your demo as well.

Steps to reproduce

1 - Open your demo. (https://stackblitz.com/edit/stackblitz-starters-vhsu43?file=src%2FApp.tsx) 2 - Navigate the gallery pictures to see how the active status of the current picture thumbnail is not updated.

JS code that you use to initialize lightGallery.

You demo default initialization already reproduces the issue.

Sample HTML markup

You demo sample HTML markup already reproduces the issue.

Environment