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.

I see a warning thrown when using this component. It can be fixed upgrading prop-types to at least 15.5.10

Actual Behavior

checkPropTypes.js?a15c:19 Warning: Failed prop type: Calling PropTypes validators directly is not supported by the prop-types package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types

More info

https://github.com/malte-wessel/react-custom-scrollbars/issues/153#issuecomment-301098921

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:17 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
baptwaelscommented, Apr 11, 2019

I’ve created an issue on react-height to create a new release : react-height #38

4reactions
liorhebercommented, Mar 11, 2019

Hi @BaptWaels, We investigated the issue and it seems related to react-height. It’s currently low on our priorities because it’s only a warning and doesn’t break the component. I hope we can get to it as soon as possible but I also encourage trying to issue a fix to this if you have the capacity for it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"throw new Warning" in JavaScript? - error handling
When you throw an object (and you can throw pretty much anything), it's an exception that's either caught or not. You could possibly...
Read more >
warnings — Warning control — Python 3.11.1 documentation
Warning messages are typically issued in situations where it is useful to alert the user of some condition in a program, where that...
Read more >
throw - JavaScript - MDN Web Docs - Mozilla
The throw statement throws a user-defined exception. Execution of the current function will stop (the statements after throw won't be ...
Read more >
Stidham throws 21-yard laser to Hollins before two-minute ...
Quarterback Jarrett Stidham throws a 21-yard laser to wide receiver Mack Hollins before the two-minute warning against the 49ers.
Read more >
Display warning message - MATLAB warning - MathWorks
This MATLAB function displays the warning message and sets the warning state for the lastwarn function.
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