react icon indicating copy to clipboard operation
react copied to clipboard

May be a bug

Open cfgxy opened this issue 2 years ago • 4 comments

window.event is null in IE9/IE10, this cause read type property on null at line 373

https://github.com/facebook/react/blob/9e3b772b8cabbd8cadc7522ebe3dde3279e79d9e/packages/react-dom/src/client/ReactDOMHostConfig.js#L370-L373

cfgxy avatar Jun 23 '22 09:06 cfgxy

Is this in React 18? Note that IE is not supported anymore: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#dropping-support-for-internet-explorer

guillaumebrunerie avatar Jun 24 '22 08:06 guillaumebrunerie

This can't be true — window.event has been supported since IE4. https://developer.mozilla.org/en-US/docs/Web/API/Window/event

gaearon avatar Jun 24 '22 15:06 gaearon

Oh you're saying it's null rather than undefined?

gaearon avatar Jun 24 '22 15:06 gaearon

yes, window.event in ie would be undefined. could add a fix for this

yeliex avatar Aug 30 '22 10:08 yeliex

Any update on this issue? I am getting this issue in React 18.

TrAndreiR avatar May 02 '23 15:05 TrAndreiR

I also getting this issue in React 18

coderup2021 avatar May 11 '23 09:05 coderup2021

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

github-actions[bot] avatar Apr 10 '24 05:04 github-actions[bot]

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

github-actions[bot] avatar Apr 17 '24 14:04 github-actions[bot]