We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 247c524 commit faa4218Copy full SHA for faa4218
packages/react-dom/src/events/BeforeInputEventPlugin.js
@@ -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
0 commit comments