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.

v2 rangeSlider/Rheostat: flattenChildren warnings

See original GitHub issue

Bug: What is the current behavior? Thousands of warnings is js console. On initial load and with every adjustment to a slider:

warning.js:36 Warning: flattenChildren(...): Encountered two children with the same key, `3:$0.00001`. Child keys must be unique; when two children share a key, only the first child will be used.
    in div (created by Rheostat)
    in Rheostat (created by Slider)
    in Slider (created by Slider-HeaderFooter)
    in div (created by Slider-HeaderFooter)
    in div (created by Slider-HeaderFooter)
    in Slider-HeaderFooter (created by HeaderFooter-AutoHide)
    in div (created by HeaderFooter-AutoHide)
    in HeaderFooter-AutoHide

What is the version you are using? Always use the latest one before opening a bug issue. v2.0.0-beta.2

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
timkeltycommented, May 24, 2017

@iam4x no flattenChildren warnings in v2.0.0-beta.4, Thanks!

1reaction
timkeltycommented, May 24, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Warning: flattenChildren(...): Encountered two children
The quirk in your code is that the indexOf()!=-1 only works if the passed string is not empty. So 'Milan'.indexOf('M') // = 0...
Read more >
flattenChildren(...): Encountered two children with the same key
React Warning: flattenChildren(...): Encountered two children with the same keyCould someone please explain how to fix this error Warning: flattenChildren(.
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