banthagroup / fslightbox-react

Basic version of Fullscreen Lightbox for React.js. Website: https://fslightbox.com/react
MIT License
169 stars 23 forks source link

Ability to set scale for image zoom #141

Closed justin-snap closed 3 years ago

justin-snap commented 4 years ago

Currently the library zooms in with 0.25 scale increments.

When a user needs to look at minute details in the images this takes quite a few clicks to make the image large enough or even bring it to its full size.

Setting image zoom increments in props would be a simple change.

This is a really USEFUL library especially for quick content-review use, but adding more customization via props would be AMAZING. Keep up the good work.

piotrzdziarski commented 3 years ago

Solved in pro version 1.4.0. Prop: zoomIncrement