minhtranite / react-photoswipe

PhotoSwipe, PhotoSwipeGallery component for ReactJS base on PhotoSwipe.
322 stars 106 forks source link

`.pswp` before the closing body-tag #39

Open nico-martin opened 6 years ago

nico-martin commented 6 years ago

Hi there, The photoswipe container is right after the items in the HTML Dom. Since my items are already inside a fixed container, the .pswp-Element is then fixed inside fixed. And that causes some styling issues. Is there a way to move the .pswp-Element down the DOM so it's a direct child of the body? Thanks!

tonicastillo commented 6 years ago

Any solution? Thanks!

JiangWeixian commented 4 years ago

@tonicastillo try https://github.com/JiangWeixian/react-photoswipe