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 Error: Error in render: "TypeError: Object doesn't support property or method 'fill'" #66

Open
Sinmok opened this issue Oct 12, 2020 · 2 comments

Comments

@Sinmok
Copy link

Sinmok commented Oct 12, 2020

When the component is used in IE11, the following error is thrown in the console.

This occurs on click and on hovering over a star.

The component is being used with default settings.

<div class="rating">
       <star-rating></star-rating>
</div>

Error in render: "TypeError: Object doesn't support property or method 'fill'"

image

@Sinmok
Copy link
Author

Sinmok commented Oct 12, 2020

Turns out it needs the Array.prototype.fill polyfill to work.

@craigh411
Copy link
Owner

I was just writing that as you replied. Yes, you will need the polyfill for IE 11. I'll update the docs to make this clear.

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