-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Polymer.PropertiesMixin fails to create property accessors in IE11 for certain important names like "disabled" #5183
Comments
This likely clashes because IE11 has a property accessor defined for this property: http://jsbin.com/duzeloj/edit?html,console,output |
In general creating property accessors for native properties like |
This issue was moved to Polymer/old-docs-site#2510 |
On second thought |
Ok, we traced this down. It appears that IE defines
However, for backwards compatibility we customize this behavior for As a workaround, you can manually call |
Thanks a lot for detailed explanation. As a temporary workaround I was already thinking about smth like that, but was not sure if it was a safe thing to do. Do I understand correctly that you don't want to support IE11 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed after being marked stale. If you're still facing this problem with the above solution, please comment and we'll reopen! |
Description
Polymer.PropertiesMixin fails to create property accessors in IE11 for certain important names like
disabled
.Live Demo
https://github.com/bashmish/bug-ie11-polymer-properties-mixin
Steps to Reproduce
Open tests and see what is failing in IE11 comparing to other browsers.
Expected Results
disabled
has corresponding accessors that allow to react to changes.Actual Results
No accessors are created for
disabled
.Browsers Affected
This is not clear to me. I think that it's not only IE11 since the logic seems to be a little bit naive for how accessors are created. But in IE11 it's a way more problematic.
Versions
The text was updated successfully, but these errors were encountered: