react-draggable-tab icon indicating copy to clipboard operation
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.

Open liuqiao1 opened this issue 7 years ago • 3 comments

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

liuqiao1 avatar Jan 10 '18 03:01 liuqiao1

Duplicate of #73

mgsouth avatar Jan 29 '18 01:01 mgsouth

any way to fix this?

plarrea avatar Feb 20 '18 14:02 plarrea

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

mgsouth avatar Feb 20 '18 20:02 mgsouth