ios-app icon indicating copy to clipboard operation
ios-app copied to clipboard

[UX] Improve double tap to zoom in ImageViewer

Open mneuwert opened this issue 6 years ago • 0 comments

If you found a bug:

Not really a bug but very naive implementation of double tap to zoom. The image is always zoomed to the middle. Instead of calling UIScrollView.setZoomScale() we could based on the location of the tap calculate a CGRect and then call UIScrollView.zoom(to rect: CGRect, animated: Bool)

Steps to reproduce

  1. Open any image
  2. Double tap in the top-left corner of the image

Expected behaviour

Top left region shall be visible

Actual behaviour

Region in the middle of the image is visible.

Client

iOS version: 12.x

**ownCloud app version: 1.0.3 **

Device model:

mneuwert avatar Aug 02 '19 16:08 mneuwert