-
Notifications
You must be signed in to change notification settings - Fork 265
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
IMG tags break Internet Explorer 11 #496
Comments
The cause might be that IE puts a "href" property on img dom nodes. This line here seems suspicious: https://github.com/derbyjs/tracks/blob/master/lib/History.js#L156 |
This isn't just me using the framework wrong. This is the framework having a rather serious bug in one of the main browsers. One of the "derby used in production" sites: This also makes it essentially impossible to put an image into a link, since the "imaginary link"s click event fires first and doesn't even bubble to the "real link". |
Thanks for your contributing your issue. We have recently been actively updating the Derby and Racer packages, and both repos are now in Typescript and published with types on npm. As we have quite a few old issues open we have made the decision to close out of date issues. If this issue still matters to you we encourage reproducing against the current versions of the repo and opening a new issue. |
In Internet Explorer 11 (didn't try the older ones), clicking on any image that has a
src
which starts with/
, behaves like there is a link on the image, pointing to the image.Reproduce:
open
http://localhost:3000
in IE11, click on the kitten and look at the address bar.The test app is nothing more than a "yo derby:mini" with a kitten.jpg and an
img
tag.PS: I've noticed that an external image file (eg:
http://lorempixel.com/100/100
) works correctly.PPS: I have no clue where this is coming from, so I'm posting this here, since it's seems like a rather severe issue.
The text was updated successfully, but these errors were encountered: