Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewer doesn't work in production mode (with optimizations & transitions active) #1

Open
marcusforsberg opened this issue Jul 24, 2018 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@marcusforsberg
Copy link
Member

When building with optimization: true, the Viewer starts acting weird in modal mode. Opening an image will trigger the Viewer itself to open, but the image isn't visible. Sometimes the image pops up after a few seconds, but always randomly. Even weirder, hovering over any of the toolbar buttons will trigger the image to pop up immediately.

Disabling transitions on Viewer.js fixes this, so we've disabled them by default with a note in the readme.

We should find a way to fix this properly.

@marcusforsberg marcusforsberg added bug Something isn't working help wanted Extra attention is needed labels Jul 24, 2018
@marcusforsberg marcusforsberg changed the title Viewer doesn't work in production mode (with optimizations active) Viewer doesn't work in production mode (with optimizations & transitions active) Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant