-
Notifications
You must be signed in to change notification settings - Fork 46.8k
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
ensureScrollValueMonitoring issue #6887
Comments
Do you have any browser/platform info? It could be a broken bot or someone running a modified environment, I've seen super weird errors that have been caused by chrome extensions and what not. EDIT: |
Few of I will be able to confirm that real users came across this error (and not a bot) in a few days. Gonna release today/tomorrow version with passing user infos to the Sentry (for now all real users are authenticated before application iframe is loaded). As for chrome extensions messing up with the browser - ain't sure if there is any way to detect that. |
I guess, if you have the possibility, it would be great if you could log the value of |
I have also received this error for:
The first time I received this error was May 19th 2016. The last time was May 23rd 2016. |
…ateEvent returns null
@f0rk Are you also dealing with iframes in your app? |
@syranide no, we are not using iframes in any capacity |
@f0rk Are you receiving it yourself or through bug reports? It would be interesting to know if |
I am receiving it through our error collection system. I am not sure of the root cause. |
@syranide I'll hit production 2morrow with a check against |
@Andarist Oh that's awesome. Are you using any non-standard polyfills you're aware of? |
Nope, everything is rather standard. Only Babel transforms |
Any updates on this? |
had workload to do, gonna report back results in next week i guess, sorry for delay |
Also running into this problem using rollbar instead of sentry, but same error. |
If you have this error please try to figure out a way to check if |
Hi there, I've finally found out that this faulty I've tried to find what is its source and couldnt. I dont know how its interfering with our iframe so I guess the most possible reason is that its a part of some browser extension. Do you think we should address this in our codebase or it could be addressed in React's core? We have already over 50 users affected by that. Anyway I'll try for now to intercept original |
By having our app wrapped with Sentry (error catching service) we've encountered a bug - which may not be React specific but some kind of a workaround for it should be done. With that in mind I'm not sure how to tackle it yet.
react/src/renderers/dom/client/ReactBrowserEventEmitter.js
Line 363 in 1573baa
TypeError: Cannot use 'in' operator to search for 'pageX' in null
- which occurs during mounting a root component into the DOM (using React 15)It happens really rarely in Chrome (so far caught only there, on versions 49 and 50, both Mac and Windows). With thousands renders of our app daily we got only 7 such hits in the past 3 days.
I've tried to search any info how
document.createEvent('MouseEvent')
can returnnull
, but couldn't find any viable info.With React's popularity is odd too me that nobody has filled this issue earlier which leds me to think that maybe our usage is somehow different than others and the only thing 'kinda' special is that our app is running inside an iframe.
The text was updated successfully, but these errors were encountered: