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

Element ref was specified as a string (tab0) but no owner was set. You may have multiple copies of React loaded. #91

Open
liuqiao1 opened this issue Jan 10, 2018 · 3 comments

Comments

@liuqiao1
Copy link

React 版本: 15.6.2
react-draggable-tab版本: 0.8.1

const tabs = [ (<Tab key="tab0" title="unclosable tab" disableClose > <div> <h1>This tab cannot close</h1> </div> </Tab>), (<Tab key="tab1" title="1stTab" > <div> <h1>This is tab1</h1> </div> </Tab>), (<Tab key="tab2" title="2ndTab Too long Toooooooooooooooooo long" > <div> <pre>Lorem ipsum dolor sit amet, consectetur adipisicing elit, </pre> </div> </Tab>), ]; return ( <Tab tabs = {tabs}> )

image

@mgsouth
Copy link
Contributor

mgsouth commented Jan 29, 2018

Duplicate of #73

@plarrea
Copy link

plarrea commented Feb 20, 2018

any way to fix this?

@mgsouth
Copy link
Contributor

mgsouth commented Feb 20, 2018

My pending pull request fixed it in my instance, but the underlying issue (using string refs) isn't addressed.

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