Pengcheng Ding
Pengcheng Ding
Yeah this is a good idea. However, I want to be careful about making it an opt-in feature because some people might not needed it. Maybe we can introduce two...
The above two event hooks have been added to the latest release `2.1.0`: - [onImageLoading](https://desmonding.me/zooming/docs/#/configuration?id=onimageloading) - [onImageLoaded](https://desmonding.me/zooming/docs/#/configuration?id=onimageloaded) But I haven't figured out the most appropriate way to indicate the loading...
1. It does not support multi-touch functionality at this moment. 2. We're not able to disable auto close after we release mouse/finger on the image, but maybe we can add...
Yes, this is a valid point which can be improved.
Would it be possible for you to reproduce this issue in [codepen](https://codepen.io/kingdido999/pen/rpYrKV)?
Thanks! I don't have much bandwidth to work on this, but feel free to give it a try. You probably want to begin with understanding the [Zooming.open()](https://github.com/kingdido999/zooming/blob/master/src/index.js#L80) method, more specifically...
No, this is currently not possible. `scaleExtra` is in addition to the current scale of the opened image using [css transform scale function](https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale).
If I understand your intention correctly, you wanted to keep the image body within a specified frame while grabbing to avoid part of image goes out of the browser window....
Ok I got your point now! I'm sure such option could improve the user experience on different image conditions (size and resolution).