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

Weird issue when you scroll in a page with a map on it. #219

Open
xavijam opened this issue Jul 6, 2012 · 2 comments
Open

Weird issue when you scroll in a page with a map on it. #219

xavijam opened this issue Jul 6, 2012 · 2 comments
Milestone

Comments

@xavijam
Copy link

xavijam commented Jul 6, 2012

If you use Internet Explorer 6, IE7 or IE8 and scroll the page, the hover interaction has a really weird behavior. You can check this problem below:

:(
:(

It doesn't only appear in your website, I've tested it in a local repository and it happens as well.
Probably the UTFGrid is broken?. I've found this issue in Leaflet, not sure if it is present in other libraries.
Hope it helps.

@ghost ghost assigned tmcw Jul 10, 2012
@xavijam
Copy link
Author

xavijam commented Jul 16, 2012

Changing line 3115 to 3127 for just:

        } else if (e.clientX || e.clientY) {
            // Internet Explorer
            return {
                x: e.clientX,
                y: e.clientY
            };
        }

Does the trick for old Internet Explorer browsers. Cheers!

@xavijam
Copy link
Author

xavijam commented Jul 16, 2012

Checked that is happening in the google maps library as well.

tmcw pushed a commit that referenced this issue Jul 16, 2012
tmcw added a commit that referenced this issue Jul 16, 2012
@tmcw tmcw removed their assignment Nov 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants