Skip to content

Support pinch-zoom #645

Closed
Closed
@kj

Description

@kj

Feature request is related to

  • embla-carousel (core package)
  • embla-carousel-react
  • embla-carousel-vue
  • embla-carousel-svelte
  • embla-carousel-autoplay
  • embla-carousel-auto-height
  • embla-carousel-class-names
  • embla-carousel-docs (documentation)
  • embla-carousel-docs (generator)

Is your feature request related to an issue?

Pinch zoom isn't working for me on Android (at least in the examples on the website). I noticed in another issue #480 (comment) someone commented that it is working under iOS, so this might only affect Android, although I can't be sure.

Describe the solution you'd like

I'd like to be able to use pinch zoom to zoom in to image details in a slider. I made a PR for Keen-Slider to get this working, although there's not much development activity over there so the PR hasn't gone anywhere.

The PR just checks whether there are two or more fingers touching the surface before dragging, and adds pinch-zoom to touch-action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions