Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incombatible with React 0.14+ ! this.props.children must not be manipulated! #43

Open
ghost opened this issue Jan 21, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 21, 2016

the component does not work with react 0.14+, because "this.props.children" is trying to be changed.

@naoyeye
Copy link

naoyeye commented Mar 2, 2016

+1

react(0.14.7) and when there is only one Tabs.Panel

<Tabs>
    <Tabs.Panel title='Tab #1'>
      <h2>Content #1 here</h2>
    </Tabs.Panel>
</Tabs>

error:
Uncaught TypeError: Cannot assign to read only property 'children' of object '#<Object>'

in _getMenuItems :

if (!Array.isArray(this.props.children)) {
    this.props.children = [this.props.children];
}

@Muneem
Copy link

Muneem commented Nov 22, 2016

I am also facing same error as above. Any solution for this?

@AndradeB91
Copy link

I'm facing the same problem. Any news about it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants