longitachi / ZLPhotoBrowser

Wechat-like image picker. Support select photos, videos, gif and livePhoto. Support edit image and crop video. 微信样式的图片选择器,支持预览/相册内拍照及录视频、拖拽/滑动选择,编辑图片/视频,支持多语言国际化等功能;
MIT License
4.71k stars 950 forks source link

Zoom out / Update scrolling area if photos overlap the top and bottom bars on Editing functionalities. #852

Closed patryk-sredzinski closed 10 months ago

patryk-sredzinski commented 10 months ago

Pull Request - #853

Issue Description

Zoom out / Update scrolling area if photos overlap the top and bottom bars on Editing functionalities.

https://github.com/longitachi/ZLPhotoBrowser/assets/23390884/4bb26ef6-14c6-40c5-8842-43bbf7d86dde

Description and Steps

Nowadays a lot of people take screenshots of things seen on their mobile devices, and then share them in chat application. Current editing functionality displays the whole image on the full screen, making the bottom controls overlapping the image, making it hard to read.

I am thinking of a solution to zoom out or change scrollView bounds in that kind of cases a little bit, so the image is smaller, with an option to zoom in.

I definetely need a solution, and will have to write my own implementation, although I am asking for some ideas how I should achieve this functionality