dimsemenov / Magnific-Popup

Light and responsive lightbox script with focus on performance.
http://dimsemenov.com/plugins/magnific-popup/
MIT License
11.39k stars 3.49k forks source link

Help! Guide on how to add touchSwipe #486

Open juanfernandes opened 10 years ago

juanfernandes commented 10 years ago

Has anyone managed to get touchSwipe working with Magnific? Is there a guide? Their documentation is a bit, err, techie and I can't find any guides.

Thanks ( Sorry not really an issue with your awesome script ;) )

patrickcate commented 9 years ago

I'd like a tutorial on how to add this as well.

dimsemenov commented 9 years ago

If you need image gallery with touch support, take a look on new PhotoSwipe. Touch events will not be added to Magnific, as they block native browser zoom (or pan).

iBobik commented 9 years ago

@dimsemenov Why not to optimize Magnific Popup for touch GUI?

I think the world does not need another lightbox-like library what can do just something. There is no library what works perfectly on mouse and touch devices, on big and small screens (is responzive) and is modular that user (developer) can choose what features he needs.

This library is the nearest to the perfection, so why not to make it perfect?

dimsemenov commented 9 years ago

@iBobik, adding touch gestures support disables native browser pinch-zoom. If you're making large image gallery - use PhotoSwipe , otherwise if you need simple modal for different kinds of content - use Magnific.

iBobik commented 9 years ago

Thanks for reply.

Meantime I noticed you are author of the both libraries. Why you develop it separately and not in one perfect universal library?

Jan Pobořil

2015-03-20 21:32 GMT+01:00 Dmitry Semenov notifications@github.com:

@iBobik https://github.com/iBobik, adding touch gestures support disables native browser pinch-zoom. If you're making large image gallery - use PhotoSwipe , otherwise if you need simple modal for different kinds of content - use Magnific.

— Reply to this email directly or view it on GitHub https://github.com/dimsemenov/Magnific-Popup/issues/486#issuecomment-84137256 .

dimsemenov commented 9 years ago

Because modal and image-gallery with zoom are two completely different things.