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

event bubbling and IE #11

Closed
eivindfjeldstad opened this issue Feb 10, 2014 · 6 comments
Closed

event bubbling and IE #11

eivindfjeldstad opened this issue Feb 10, 2014 · 6 comments

Comments

@eivindfjeldstad
Copy link

IE versions < 9 have a bug where some events (e.g. submit and reset) does not bubble. I don't necessarily think delegate is the place for hacky workarounds, although the patch would be relatively small. Also, It would make libraries like component/events work consistently in IE8. What do you think?

@jonathanong
Copy link

you would need IE8 support in component/events first, which has already been rejected multiple times. this is why i want componentjs/spec#39 so everyone could use component/events, but the dev could swap it out for component/events-ie8 if they want ie8 support.

@eivindfjeldstad
Copy link
Author

Basic support for IE8 is already there. The only thing missing is .preventDefault() etc. but that's easy to work around.

@jonathanong
Copy link

oh crap i was thinking of component/event.

as long as it's not bloated i don't think it'll be an issue.

@eivindfjeldstad
Copy link
Author

the substitutes thing seems like a cool idea though. having workarounds for all of IE's quirks would definitely introduce a lot of bloat. I just wish nobody used IE, haha.

@eivindfjeldstad
Copy link
Author

here's how jQuery does it: https://github.com/jquery/jquery/blob/1.9-stable/src/event.js#L750
it's crazy. closing

@jonathanong
Copy link

LOL oh god

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