maximilianweidenauer

Results 4 comments of maximilianweidenauer

My reproducer didn't exactly do, what my react project does... In my project I'm sending a request to a server and the server tells me to remove this component. The...

`buildComponents()` returns the children of a component as ReactElements thats how the TabView would know that a Tab has been deleted, because buildComponents would return one element less. In case...

And `newTabArray.filter((tab, i) => i !== e.index);` wouldn't do anything right? Wouldn't it have to be `newTabArray = newTabArray.filter((tab, i) => i !== e.index);` to actually change the array? Because...

The issue maybe is, that PrimeReact is closing a Tab when clicking the 'X' and I'm also removing a Tab. So 2 Tabs are removed? Maybe there could be a...