I noticed this while playing around with PCUI in a NextJS app.
The following code
export default function App() { return ( <Panel headerText="Foo Basadsadfr" collapsible collapseHorizontally resizable="right" width={150} resizeMin={150} resizeMax={300}/> ) }
results in this on my side
I assume this is perhaps due to how react manages the lifetime? Its working fin in the current example so I assumed that its a react specific.
I noticed this while playing around with PCUI in a NextJS app. The following code![image](https://github.com/playcanvas/pcui/assets/25516638/7a510234-f6f5-4dd1-a0f3-9d476f6f5bfb)
export default function App() { return ( <Panel headerText="Foo Basadsadfr" collapsible collapseHorizontally resizable="right" width={150} resizeMin={150} resizeMax={300}/> ) }
results in this on my sideI assume this is perhaps due to how react manages the lifetime? Its working fin in the current example so I assumed that its a react specific.