react-tap-event-plugin icon indicating copy to clipboard operation
react-tap-event-plugin copied to clipboard

Synthetic Event breaks in IE11

Open juanca opened this issue 8 years ago • 1 comments

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. https://github.com/zilverline/react-tap-event-plugin/blob/f7ed5c560011590d24e07480686b234b2f3ea1f5/src/SyntheticEvent.js#L123

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 https://github.com/facebook/react/issues/11788

juanca avatar Dec 06 '17 22:12 juanca

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

adipascu avatar Dec 07 '17 11:12 adipascu