You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A numeric maxRatio multiplier can be specified as an option on the Zoom module, which is great, however the image can scale past a reasonable resolution if the image is small. It would be nice to be able to specify a maxRatio of 100% of the original image.
Suggested solution
Allow a percentage to be passed into maxRatio, introduce a maxRatioPercentage property, or an optional boolean field to prevent zooming past 100% of the original image size.
Clear and concise description of the problem
A numeric
maxRatio
multiplier can be specified as an option on the Zoom module, which is great, however the image can scale past a reasonable resolution if the image is small. It would be nice to be able to specify amaxRatio
of 100% of the original image.Suggested solution
Allow a percentage to be passed into
maxRatio
, introduce amaxRatioPercentage
property, or an optional boolean field to prevent zooming past 100% of the original image size.Alternative
No response
Additional context
No response
Validations
Would you like to open a PR for this feature?
The text was updated successfully, but these errors were encountered: