react-photoswipe icon indicating copy to clipboard operation
react-photoswipe copied to clipboard

Can't take getElementsByTagName() of null. Wtf?

Open pravosleva opened this issue 7 years ago • 3 comments

Sometimes i see this error in this page http://selection4test.ru/projects/projects-react-gallery/build/index.html. TypeError: t is undefined Why it is possible? How can I resolve it?

pravosleva avatar Jul 23 '17 08:07 pravosleva

Screen of the trouble http://selection4test.ru/projects/projects-react-gallery/_issues/_qs-0.png

pravosleva avatar Jul 23 '17 09:07 pravosleva

We are also still getting this. It seams there is a PR that fixes it. Can you please merge it and release a new version?

Thx

toxsick avatar Jan 09 '18 11:01 toxsick

you could disable history. it seems to solve the problem for me

options={{
    history : false
}}

or use galleryUID

options={{
    galleryUID: 1234
}}

laidinidis avatar Mar 16 '18 10:03 laidinidis