I am using three horizontally aligned panels. There is some flickering occurring on the right panel whenever I resize with the left handle. I tried to fix this by saving the layout with a cookie as is mentioned in the documentation, but that doesn't seem to fix it. This issue occurs regardless of whether I use client or server components. I set up a
codesanbox as an example using only client components. The flickering occurs only on some positions of the right handle. I noticed, that this effect is not present in versions 0.0.55 and below.
Locally I set up an example with a server component as in the documentation. Here this issue is also arising. I a am using version 12.0.13 in this example.
Server component:
import { cookies } from "next/headers";
import ClientComponent from "./ClientComponent";
export default function Home() {
const layout = cookies().get("react-resizable-panels:layout");
let defaultLayout;
if (layout) {
defaultLayout = JSON.parse(layout.value);
}
return <ClientComponent defaultLayout={defaultLayout} />;
}
I am using three horizontally aligned panels. There is some flickering occurring on the right panel whenever I resize with the left handle. I tried to fix this by saving the layout with a cookie as is mentioned in the documentation, but that doesn't seem to fix it. This issue occurs regardless of whether I use client or server components. I set up a codesanbox as an example using only client components. The flickering occurs only on some positions of the right handle. I noticed, that this effect is not present in versions 0.0.55 and below.
Locally I set up an example with a server component as in the documentation. Here this issue is also arising. I a am using version 12.0.13 in this example.
Server component:
Client component: