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

"wrap" option misleading

Open apepper opened this issue 4 years ago • 0 comments

https://peterpalau.github.io/react-bnb-gallery/#/options currently states the following:

Name Type Default Description
wrap boolean false Whether the gallery should cycle continuously or have hard stops.

My understanding would be, that wrap=false would not show a previous-button on the first image. I would further expect, that wrap=true would show a previous-button on the first image.

Currently the opposite is true: With wrap=true no previous-button is shown on the first image.

I would either change the description or change the implementation.

apepper avatar Sep 17 '20 06:09 apepper