react-draggable-tab
react-draggable-tab copied to clipboard
Element ref was specified as a string (tab0) but no owner was set. You may have multiple copies of React loaded.
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}> )
Duplicate of #73
any way to fix this?
My pending pull request fixed it in my instance, but the underlying issue (using string refs) isn't addressed.