Open reberinformatik opened 5 years ago
We also still get this error mentioned in #23.
Updating screenfull.js version to at least v4.0.1, where the problem has been fixed, will automatically solve the problem several users were reporting in the issue mentioned above.
Manually editing the sreenfull.js - as e.g. described in this comment is not a real solution when you have integrated ngx-image-viewer in your project and call npm install
for a build.
Could you please update the package and publish a new release?
I implemented this library in angular 7. Updating screenfull.js version to at least v4.0.1 does not solve the issue for me. I tried npm install screenfull@4.0.1, but I still get the same error : "Uncaught (in promise) TypeError: Document not active"
@ebitauld : I understand that you did an own implementation of this library or a fork, right?
Then calling npm install on screenfull won't do the trick, instead you have to open package.json in your project, update the dependency to screenful.js (in ngx-image-viewer 1.0.13 it's currently "^3.3.2", which was actually resolved in package-lock.json to version 3.3.2 and then call npm install
on your project - this is what we kindly ask @jpilfold to do.
Anyone having this issue can refer to this fork which resolves it. Thanks.
Screenfull has fixed some issues in the latest version. Would it be possible to update the package?
Related: #23