Wilto / Dynamic-Carousel

A carousel plugin built for responsive layouts. There are many like it, but this one is mine.
matmarquis.com/carousel/
472 stars 112 forks source link

Disabled pinch/zoom on iOS? #9

Closed beep closed 13 years ago

beep commented 13 years ago

I’m not sure, but I think the carousel plugin might be a little greedy with capturing touch/swipe events. To replicate the bug I’m seeing:

  1. Hold an iPad in portrait mode.
  2. Open http://responsivewebdesign.com/robot/
  3. After the page has loaded, rotate the iPad into landscape mode. This’ll trigger iOS’s lovely zooming bug on width=device-width viewport settings. (Yay.)
  4. Try to pinch to zoom out. You won’t be able to. It sucks. You might cry a little.

You can, however, double-tap to zoom out.

I noticed this on the iPad, but it might affect other iOS devices as well. (The sample page disables the plugin below a certain resolution threshold.)

Wilto commented 13 years ago

Fixed, pushed, etc., and I didn’t even cry.

…Okay I cried a little yes.

beep commented 13 years ago

Your tears sustain me. And fixed this issue. What.

(Amazing work, sir! Thanks so much.)

Fixed, pushed, etc., and I didn’t even cry.

…Okay I cried a little yes.

Reply to this email directly or view it on GitHub: https://github.com/Wilto/Dynamic-Carousel/issues/9#issuecomment-1581604