ui
ui copied to clipboard
Resizable not working
<div className="flex justify-center w-full">
<ResizablePanelGroup
direction="horizontal"
className="min-h-[200px] max-w-5xl rounded-lg border mt-4 mx-8"
>
<ResizablePanel defaultSize={60}>
<div className="flex items-center justify-center w-full h-full">
<Image
src="https://firebasestorage.googleapis.com/v0/b/robochat-7f468.appspot.com/o/static%2FLanding%2FScreenshot%202024-02-05%20at%2022.05.19%201.png?alt=media&token=505f08f3-1b4c-4b65-8c6f-141ab2df3f2a"
alt="Synthia"
// placeholder="blur"
loading="lazy"
// style={{ objectFit: 'contain' }}
width={500}
height={500}
// fill={true}
/>
</div>
</ResizablePanel>
<ResizableHandle withHandle />
<ResizablePanel defaultSize={40}>
<div className="flex items-center justify-center w-full h-full">
<Image
src="https://firebasestorage.googleapis.com/v0/b/robochat-7f468.appspot.com/o/static%2FLanding%2FScreenshot%202024-02-05%20at%2022.06.00.png?alt=media&token=3243088b-4348-449f-ad1f-282c91a3644d"
alt="Synthia"
// fill={true}
// style={{ objectFit: 'contain' }}
width={500}
height={500}
loading="lazy"
// placeholder="blur"
/>
</div>
</ResizablePanel>
</ResizablePanelGroup>
</div>
import {
ResizableHandle,
ResizablePanel,
ResizablePanelGroup,
} from '@/components/ui/resizable';
It displays correctly, but the handle is not working.
I am having the same issue right now
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.