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

IE classList undefined on SVG Element #11

Closed
matteobad opened this issue Apr 30, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@matteobad
Copy link
Owner

commented Apr 30, 2019

Describe the bug
On IE the SVG Element does not have a definition for the classList property. When the script loops upward in the DOM and finds an SVG the following error occurs: Unable to get property 'add' of undefined or null reference

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'IE'
  2. Focus on any SVG or any child of an SVG
  3. See error

Expected behavior
Apply class polyfill even to SVG Elements.

Desktop (please complete the following information):

  • OS: Windowss
  • Browser IE
  • Version All

Additional context
Check for SVG child supported elements.

@matteobad matteobad added the bug label Apr 30, 2019

@matteobad matteobad self-assigned this Apr 30, 2019

@matteobad matteobad closed this in 0d8bfeb May 1, 2019

matteobad pushed a commit that referenced this issue May 1, 2019

chore(release): 4.0.0 [skip ci]
# [4.0.0](v3.1.0...v4.0.0) (2019-05-01)

### Features

* add new option and polyfill with attribute ([0d8bfeb](0d8bfeb)), closes [#11](#11)

### BREAKING CHANGES

* attributes support
@matteobad

This comment has been minimized.

Copy link
Owner Author

commented May 1, 2019

🎉 This issue has been resolved in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@matteobad matteobad added the released label May 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.