mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: checkpoint restore button showing empty floating window
- Fix issue where checkpoint restore button shows empty popover content - When portalContainer is undefined, PopoverContent now renders normally without portal - Only pass container prop when portalContainer is available - Resolves issue #8646
This commit is contained in:
parent
6b8c21f873
commit
33f5d5ce8e
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ export const CheckpointMenu = ({
|
|||
</Button>
|
||||
</PopoverTrigger>
|
||||
</StandardTooltip>
|
||||
<PopoverContent align="end" container={portalContainer}>
|
||||
<PopoverContent align="end" {...(portalContainer && { container: portalContainer })}>
|
||||
<div className="flex flex-col gap-2">
|
||||
{!isCurrent && (
|
||||
<div className="flex flex-col gap-1 group hover:text-foreground">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue