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

IE11 issue #668

Open
kevinlo123 opened this issue Sep 3, 2019 · 6 comments
Open

IE11 issue #668

kevinlo123 opened this issue Sep 3, 2019 · 6 comments

Comments

@kevinlo123
Copy link

There is a bug when using this package on IE11. When anchor element is clicked the screen jumps to the top of the page. This issue was found using browserstack to test website on IE11 windows. I also tested on http://lokeshdhakar.com/projects/lightbox2/#examples to make sure it just wasnt the website im working on and same issue persists.

@stratosilver
Copy link

I have the same issue, is there a fix for that?
So in IE11, when I click on any thumbnail, the page scroll to the top. I tryed this:
lightbox.option({ disableScrolling:true })
But it does not resolve the issue
Regards
Ed

@kevinlo123
Copy link
Author

@stratosilver Sorry Ed, this bug had no resolution and i opted to using another library.

@StefanoDiLegami
Copy link

StefanoDiLegami commented Nov 13, 2019

Removing
self.$overlay.focus(); Line: 404

from lightbox.js fixed that problem for me.

@kevinlo123
Copy link
Author

Removing
self.$overlay.focus(); Line: 404

from lightbox.js fixed that problem for me.

I tried this it didnt work. I may have did something wrong unsure. @stratosilver Eddy please try & let us know if this worked.

@stratosilver
Copy link

Sorry I can't test is, switched to an other lib
Thanks for your help anyway StefanoDiLegami

@kevinlo123
Copy link
Author

ok this issue will remain open @stratosilver @StefanoDiLegami

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

No branches or pull requests

4 participants