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

Edge and IE problems. #23

Closed
psweeting1 opened this issue Sep 14, 2017 · 1 comment
Closed

Edge and IE problems. #23

psweeting1 opened this issue Sep 14, 2017 · 1 comment

Comments

@psweeting1
Copy link

psweeting1 commented Sep 14, 2017

This only happens on Edge, IE11, IE10 and lower. If you have an output window for zooming you'd normally get a nice border around the zoom container, instead the image you're zooming into appears twice, one is in the zoom container as normal and works fine and another is behind the zoom container removing the nice border. This doesn't always happen in Edge, however resize my browser it'll appear, as for IE11 and lower it always happens.

This only happens on Microsoft browsers.

@psweeting1
Copy link
Author

psweeting1 commented Sep 26, 2017

Changing the CSS fixes the double image problem with the preview container.

.xzoom-preview {
  border: 1px solid #888;
  background: #2f4f4f;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 999; //add z-index to bring the preview container forward.
}

This fixes the problem with Edge, IE11 and later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant