nicolas-t/Chocolat

Using the keyboard does not work properly with multiple galleries.

it-scripter opened this issue · 0 comments

My problem is navigating and closing galleries with the keyboard. It depends on the order in which the images are opened.
To reproduce it, try this on the demo page dist/index.html.

  • open an image in the first gallery and close it with esc - works fine (you can repeat it endlessly), you can also witch the image with the keyboard.
  • open an image in the second gallery and close with esc - works well.
  • now open a picture in the first gallery again - and close with esc - that doesn't work.
  • You can now close any image in the second gallery by pressing esc, but no longer in the first image.

version used: 0.4.21