-
Notifications
You must be signed in to change notification settings - Fork 375
Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null #121
Comments
It would be helpful if I can get steps to reproduce. |
Yea, totally understand, I can't reproduce it either but our error tracking is finding it in the wild. I noticed a similar error which happens in the same file because _this.menu is null. |
OK. I'll take a stab at it over the weekend. |
I'm seeing this as well: Which stems from line 147 in It's inconsistent for me as well though I am able to reproduce it consistently when changing urls via react-router. I don't have time to throw together an example at the moment but I'm pretty sure what I described above is the cause. |
Which browser are you guys seeing this on? |
Chrome for me. |
Latest Chrome for me as well. |
Released a patch for this. Please open issues if you find such errors in future. |
Tested and confirmed the fix, thanks @vkbansal! |
same here, thanks so much @vkbansal you rock |
Version
2.2.1
Test Case
http://jsbin.com/sacerobuxi/edit?html,js,output
Steps to reproduce
Unsure but it happens in production (rarely)
Expected Behavior
No uncaught errors
Actual Behavior
Line 76: Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null
The text was updated successfully, but these errors were encountered: