double-tap zoom out once reach max scale

This commit is contained in:
Lim Chee Aun 2023-10-19 20:47:11 +08:00
parent a37c3d6081
commit d62712d587

View file

@ -130,6 +130,7 @@ function Media({
enabled: pinchZoomEnabled,
draggableUnZoomed: false,
inertiaFriction: 0.9,
doubleTapZoomOutOnMaxScale: true,
containerProps: {
className: 'media-zoom',
style: {