We use the library in our project and it works very well, thanks for that!
This PR adds another prop zoomOnClick that allows single click zoom as implemented in other lightboxes. Since we still want to allow drags to change the viewport when zoomed in it saves the "dragging" state in the component state.
I will still need to add the appropriate tests, update the README.md and bump the minor version.
Just wanted to test the waters if that is something you would consider merging?
We use the library in our project and it works very well, thanks for that!
This PR adds another prop
zoomOnClick
that allows single click zoom as implemented in other lightboxes. Since we still want to allow drags to change the viewport when zoomed in it saves the "dragging" state in the component state.I will still need to add the appropriate tests, update the README.md and bump the minor version.
Just wanted to test the waters if that is something you would consider merging?