mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: prevent UI from going blank when terminal panel is opened on macOS
- Changed ChatView from fixed positioning to absolute positioning - Added proper height and positioning styles to body and #root elements - Ensures webview content stays within container boundaries when terminal panel resizes the viewport Fixes #9227
This commit is contained in:
parent
4e6cdad052
commit
a2e2e51b39
2 changed files with 9 additions and 3 deletions
|
|
@ -1355,9 +1355,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
|
|||
const areButtonsVisible = showScrollToBottom || primaryButtonText || secondaryButtonText || isStreaming
|
||||
|
||||
return (
|
||||
<div
|
||||
data-testid="chat-view"
|
||||
className={isHidden ? "hidden" : "fixed top-0 left-0 right-0 bottom-0 flex flex-col overflow-hidden"}>
|
||||
<div data-testid="chat-view" className={isHidden ? "hidden" : "absolute inset-0 flex flex-col overflow-hidden"}>
|
||||
{telemetrySetting === "unset" && <TelemetryBanner />}
|
||||
{(showAnnouncement || showAnnouncementModal) && (
|
||||
<Announcement
|
||||
|
|
|
|||
|
|
@ -231,6 +231,14 @@ html {
|
|||
body {
|
||||
margin: 0;
|
||||
line-height: 1.25;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#root {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
body.scrollable,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue