@samitouri / QOS-React / commits / faa4218632

Fixed an issue #11853 - window.opera=null problem (#11854)

alisherdavronov committed Dec 19, 2017 at 06:18 UTC faa4218632ca21f3af731fb6c14849fc054fca15
1 file changed +1
packages/react-dom/src/events/BeforeInputEventPlugin.js
+1
@@ -49,6 +49,7 @@ const useFallbackCompositionData =
49 function isPresto() {
50 const opera = window.opera;
51 return (
52 + opera !== null &&
53 typeof opera === 'object' &&
54 typeof opera.version === 'function' &&
55 parseInt(opera.version(), 10) <= 12