After using addFloatingGroup to create a floating panel, when I try to add the panel back using const addGroup = props.params.containerApi.addGroup(); and props.params.api.moveTo({ group: addGroup }), I find that the components in the panel disappear. However, when I move this panel to another group, the components in the panel appear normally. The code is as follows::
const handlePopout = () => {
if (props.params.api.location.type === 'floating') {
const addGroup = props.params.containerApi.addGroup();
props.params.api.moveTo({ group:addGroup });
}else{
props.params.containerApi.addFloatingGroup(props.params.group, {
position: {
width: 800,
height: 800,
bottom: 50,
right: 50,
},
})
}
}