dimsemenov / PhotoSwipe

JavaScript image gallery for mobile and desktop, modular, framework independent
http://photoswipe.com
MIT License
24.18k stars 3.31k forks source link

Does Inline mode still exist? #2033

Closed Lepidopteran closed 1 year ago

Lepidopteran commented 1 year ago

I'm new to PhotoSwipe and I was wondering if Inline mode still exists in the latest version of the library? I've been looking through the documentation but I can't seem to find any information on it. I've seen stack overflow anwsers and it looks like there used to be an option called modal and used to able to set it to modal: false. I tried this and it does not work. is Inline mode is still supported or if there is an alternative way to achieve the same functionality?

dimsemenov commented 1 year ago

Inline mode is not supported, though if you just need a partly-fullscreen PhotoSwipe on the page - it's easily doable https://photoswipe.com/data-sources/#without-lightbox-module

If you need an inline scroller/gallery on a page, I'd recommend looking into native CSS snap points.