-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
e.target.className.indexOf is not a function #1203
Comments
I'm guessing that className is returning a A fix would be to check that |
@wuweiweiwu thats right and I guess I will do a fork after a while. I just prefer to use the original package source if possible. |
@dmydry would you be interested in submitting a pull request for this? |
@wuweiweiwu done ;) I didn't find any tests for the |
@dmydry Awesome! thanks for contributing! |
Unfortunately I can't make a working repro. This is a main reason of this issue.
In our production code we often get client errors with the next traceback:
TypeError: e.target.className.indexOf is not a function
.Apparently this is the next code: https://github.com/bvaughn/react-virtualized/blob/master/source/vendor/detectElementResize.js#L73
Browser occurrences are quite different (last chrome is in top). Hence it's not a browser issue.
We use WindowScroller, AutoSizer and List components with quite standart props and behaviour.
Could anyone give me a tip, what is a possible reason of this issue?
The text was updated successfully, but these errors were encountered: