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

Map does not resize properly on IE11 #10

Closed
TimFau opened this issue Sep 25, 2019 · 2 comments
Closed

Map does not resize properly on IE11 #10

TimFau opened this issue Sep 25, 2019 · 2 comments
Assignees

Comments

@TimFau
Copy link

TimFau commented Sep 25, 2019

Thanks for the plugin! It's been very helpful. One issue I found is that it does not seem to resize properly for IE11.

  1. In IE11, go to: https://www.travismclarke.com/imagemap/
  2. Resize window to about 800px wide
  3. Click on "Orange" shape & see that "Pink" is selected
  4. Also try clicking on top left corner of "Yellow shape" & see blue is selected
@clarketm
Copy link
Owner

clarketm commented Sep 25, 2019

Thanks for the issue. 🤔 let me see if this can be polyfilled in the build process.

@clarketm
Copy link
Owner

clarketm commented Sep 27, 2019

@TimFau
I made a few tweaks to the bundle to resolve issues with IE 9, 10, 11.

  1. Remove usage on Symbol as it is unknown to IE ('Symbol' is undefined problem in ie11 babel/babel#7597)
  2. Bypass image cache for img load event (e.g. https://davidwalsh.name/image-load-event).

v1.1.7 contains the fixes.

@clarketm clarketm self-assigned this Oct 1, 2019
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

2 participants