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.

Call stack size exceeded with centered text

See original GitHub issue

If you have a select input (not multi-select) and horizontally center the value, typing into the search field causes an infinite loop leading to a “Call stack size exceeded” error.

It would definitely be nice to support centering text in single-select mode, so this should be looked into. I suspect the issue is related to the input-autosize; maybe it’s worth adding a prop that disabled use of that component if you don’t need it.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
giladgraycommented, Mar 29, 2016

👍 any insight into why this happens? It’s definitely related to the input-autosize, I’m seeing the same thing in my own autosized input (not using your library). I suspect it’s something related to browser repainting?

1reaction
nandukalidindicommented, Mar 16, 2017

screen shot 2017-03-16 at 1 26 43 pm

After copying react-select.css from node_modules into my local styles folder. I applied the above diff to prevent the error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - Maximum call stack size exceeded error
It means that somewhere in your code, you are calling a function which in turn calls another function and so forth, until you...
Read more >
Editable List View javascript error - Maximum call stack size ...
I checked the browser console and there is a JavaScript error: Uncaught RangeError: Maximum call stack size exceeded.
Read more >
Chrome Update caused : Maximum call stack size exceeded
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group. To unsubscribe from this group and stop receiving emails ......
Read more >
JavaScript RangeError: Maximum Call Stack Size Exceeded
The RangeError: Maximum call stack size exceeded is thrown when a function call is made that exceeds the call stack size. This can...
Read more >
1.5 RangeError: Maximum call stack size exceeded.
I had to use the labs window, because it wouldn't load the text editor for the project window. Anyways, I checked on both...
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