react-image-gallery icon indicating copy to clipboard operation
react-image-gallery copied to clipboard

return index to consumer by onClick

Open KathyWang0208 opened this issue 9 months ago • 1 comments

Here is a case: we want to pass the specific image when user click one image in image gallery to achieve the aim which user can see the image in image gallery wall. so we need render image item as a button. one problem with this is that image-gallery-slide is clickable, and the internal image item also clickable, the behavior is not expected by a11y rules. so make this change to fix this issue.

KathyWang0208 avatar Apr 28 '24 07:04 KathyWang0208

if you can update the doc I think this is mergeable

xiaolin avatar Aug 22 '24 04:08 xiaolin