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

Synthetic Event breaks in IE11 #113

Open
juanca opened this issue Dec 6, 2017 · 1 comment
Open

Synthetic Event breaks in IE11 #113

juanca opened this issue Dec 6, 2017 · 1 comment

Comments

@juanca
Copy link

juanca commented Dec 6, 2017

Do you want to request a feature or report a bug?

Bug.

What is the current behavior?

SyntheticEvent.js breaks in IE11.

Object.assign is explicitly used to extend the prototype of SyntheticEvent.

Object.assign(SyntheticEvent.prototype, {

What is the expected behavior?

SyntheticEvent.js should work.

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

Broken in React 16 + IE11 + react-tap-event-plugin. It used to work in React 15 + IE11 + react-tap-event-plugin.

Is the recommended approach to use babel to polyfill Object.assign?

See facebook#11788

@adipascu
Copy link

adipascu commented Dec 7, 2017

I am having the same issue when running on Android 5.1.
Please consider avoiding Object.assign or build the dist bundle with babel.

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