Skip to content

The imageViewer should stay on zoomed scale value and should be closed with zooming when scale is 1 #39

Open
@kelalaka153

Description

@kelalaka153

Is your feature request related to a problem? Please describe.

This is more about user interface consistence with Apples'. It was the nice gesture of the Apple's photos to dismiss full view with zoom out.

Describe the solution you'd like

  1. The view can be zoomed in and when the magnification gesture is ended, the scaling stays - currently goes back to 1
  2. If the scale is already larger than 1, the view can be zoomed out to scale 1 whatever the .ended result is .
  3. The view can be dismissed if the current scale is 1 and zoomed out.
  4. No need to button.

Additional context

I'm currently using this in fullScreenCover since overlay is problematic with navigation stacks.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions