Skip to content

Fix #3147 Element.closest is not supported in ie11#3148

Merged
offtherailz merged 1 commit intogeosolutions-it:masterfrom
allyoucanmap:ie11-closest-poly
Aug 6, 2018
Merged

Fix #3147 Element.closest is not supported in ie11#3148
offtherailz merged 1 commit intogeosolutions-it:masterfrom
allyoucanmap:ie11-closest-poly

Conversation

@allyoucanmap
Copy link
Copy Markdown
Contributor

Description

Added polyfill to add closest function if it's not supported in browser eg. ie11

Issues

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix

What is the current behavior? (You can also link to an open issue here)
Missing closest function crashes the application in ie11, in particular widgets don't work

What is the new behavior?
Added closest function with polyfill function to avoid errors

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes

If this PR contains a breaking change, please describe the impact and migration path for existing applications:

Probably some projects need update in buildConfig.js

Other information:

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 80.899% when pulling b0987f1 on allyoucanmap:ie11-closest-poly into b6eb606 on geosolutions-it:master.

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

Successfully merging this pull request may close these issues.

Element.closest is not supported in ie11

4 participants