Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kelalaka153 opened this issue Mar 22, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kelalaka153
Copy link

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.

@kelalaka153 kelalaka153 added the enhancement New feature or request label Mar 22, 2023
@kelalaka153 kelalaka153 changed the title The imageViewer should stay on zoomed value and should be closed with zooming when zoom is 1 The imageViewer should stay on zoomed scale value and should be closed with zooming when scale is 1 Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants