https://jsfiddle.net/t5q37nbe/2/
First of all, I have created a tab section using AntDesign library. The problem that I have is Tab-1 is default Tab. As soon as the code runs, it automatically opens with the Tab-1. On clicking the ADD Tab-1 button, another tab-1 gets popped. I don’t want that to happen. On clicking Tab-1 it shouldn’t open a new tab again.
Here I have set ‘1’ for focusing and openingpane in order to be default,
this.state = {
focusingPaneKey: '1',
openingPaneKeys: [1],
}
Can any one help me in solving this glitch.