question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: Cannot read property 'getBoundingClientRect'

See original GitHub issue

The slide-click-event of DynamicRangeFilter component doesn’t work - her the error message.

package.json

...
 "searchkit": "^0.10.1",
 "react": "^15.3.0",
 "react-dom": "^15.3.0",
"react-redux": "^4.4.5",
...

react-code

<DynamicRangeFilter field="price" id="pricerange" title="Price"/>

Stackstrace:

bundle.js:65868 Uncaught TypeError: Cannot read property 'getBoundingClientRect' of undefined
getSliderStart @ bundle.js:65868
calcValueByPos @ bundle.js:65954
onStart @ bundle.js:65810
onMouseDown @ bundle.js:65800
invokeGuardedCallback @ bundle.js:12346
executeDispatch @ bundle.js:12175
executeDispatchesInOrder @ bundle.js:12198
executeDispatchesAndRelease @ bundle.js:11622
executeDispatchesAndReleaseTopLevel @ bundle.js:11633
forEachAccumulated @ bundle.js:12489
processEventQueue @ bundle.js:11809
runEventQueueInBatch @ bundle.js:18592
handleTopLevel @ bundle.js:18603
handleTopLevelImpl @ bundle.js:23830
perform @ bundle.js:14279
batchedUpdates @ bundle.js:23747
batchedUpdates @ bundle.js:13462
dispatchEvent @ bundle.js:23907
bundle.js:7546 Uncaught Invariant Violation: Minified React error #119; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=119 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.reactProdInvariant 
@ bundle.js:7546
addComponentAsRefTo @ bundle.js:14085
attachRef @ bundle.js:13954
ReactRef.attachRefs @ bundle.js:13973
attachRefs @ bundle.js:13782
notifyAll @ bundle.js:13687
close @ bundle.js:24172
closeAll @ bundle.js:14345
perform @ bundle.js:14292
batchedMountComponentIntoNode @ bundle.js:26686
batchedUpdates @ bundle.js:23745
batchedUpdates @ bundle.js:13462
_renderNewRootComponent @ bundle.js:26880
obj.(anonymous function) @ backend.js:8376
_renderSubtreeIntoContainer @ bundle.js:26961
renderSubtreeIntoContainer @ bundle.js:26903
_renderComponent @ bundle.js:72189
renderComponent @ bundle.js:72212
componentDidUpdate @ bundle.js:68846
notifyAll @ bundle.js:13687close @ bundle.js:24172
closeAll @ bundle.js:14345
perform @ bundle.js:14292
perform @ bundle.js:14279
perform @ bundle.js:13454
flushBatchedUpdates @ bundle.js:13537
closeAll @ bundle.js:14345
perform @ bundle.js:14292
batchedUpdates @ bundle.js:23747
batchedUpdates @ bundle.js:13462
dispatchEvent @ bundle.js:23907

any ideas?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
joemcelroycommented, Feb 15, 2017

@pwain @rehm . 1.0.0-4 release should work with the latest version of react now. Closing this issue and if there are still issues, please reraise them. Thanks

0reactions
pwaincommented, Oct 7, 2016

@rehm thanks. What specifically in the link you reference helped you get over the broken slider behavior that you originally reported?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read property 'getBoundingClientRect' of null
I get this error: Cannot read property 'getBoundingClientRect' of null . I use this function getBoundingClientRect , because in my project I ...
Read more >
Cannot read property 'getBoundingClientRect' of null #100
Hi! I'm getting sometimes this error in console Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null How can I fix this?
Read more >
Throwing Cannot read property 'getBoundingClientRect' of ...
The error keeps coming from Sentry from a user using windows xp and chrome v49.0.2623, and several users using windows 10 and Edge...
Read more >
TypeError: Cannot read property 'getBoundingClientRect' of null
Error message: I get the same error message “TypeError: Cannot read property 'getBoundingClientRect' of null” from Pavlovia and I am not sure whether...
Read more >
TypeError: Cannot read property 'getBoundingClientRect' of null
TypeError : Cannot read property 'getBoundingClientRect' of null ... Hi,. The issue I am experiencing looks similar to (see link below), except I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found