-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
IE8 throws "unexpected call to method or property access" when component tag is input
#10520
Comments
As you mentioned (and confirmed by MDN) Using the built in |
Of course there are many ways to get around this issue, but it still exist. Currently I'm using one addon that sets input as its component base name and I'm sure there are many more out there that their developers has no idea about this issue (which do to IE8 devtools and other issues is enormously hard to debug). |
Yes, there are likely millions of ways that code that you write in your app could cause a problem under IE8. That is the cost that we all pay for supporting such an old platform. Using the normal mechanisms to get a bound
It may be possible, I'll have to think about it, but for the time being I think that we can definitely avoid adding these text nodes if you have not supplied a template (aka template block) to the component. |
This is also an issue with |
IE8 is no longer supported for 2.0.0+. We will gladly accept PR's fixing 1.13 for IE8 issues, but we are not going to keep IE8 only issues open in the issue tracker. |
on IE8 you cannot append child notes to an
input
element.(there might be some other tags you cannot append child into)
So if you have a component or view with
tagName: 'input'
it will not work on IE8since the render_buffer appends text node to every component -
render_buffer.js#L529
I'm not sure how this can be fixed ( I wish I had more understanding of whats going on in the renderer), but using a different tagName (like label) as a wrapper and adding the actual element in the template works as a temporary fix.
example code -
http://jsbin.com/towujofari
The text was updated successfully, but these errors were encountered: