mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Fix bug where send button wouldnt render if textAreaHeight is unexpected type; update to version 0.0.5
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
"name": "claude-dev",
|
"name": "claude-dev",
|
||||||
"displayName": "Claude Dev",
|
"displayName": "Claude Dev",
|
||||||
"description": "Claude Dev goes beyond simple code completion by reading & writing files, creating projects, and executing terminal commands with your permission.",
|
"description": "Claude Dev goes beyond simple code completion by reading & writing files, creating projects, and executing terminal commands with your permission.",
|
||||||
"version": "0.0.4",
|
"version": "0.0.5",
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.82.0"
|
"vscode": "^1.82.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ const ChatView = ({ messages, isHidden }: ChatViewProps) => {
|
|||||||
const options = {
|
const options = {
|
||||||
containerId: "chat-view-container",
|
containerId: "chat-view-container",
|
||||||
duration: instant ? 0 : 500,
|
duration: instant ? 0 : 500,
|
||||||
smooth: instant ? false : 'easeOutQuint',
|
smooth: instant ? false : "easeOutQuint",
|
||||||
}
|
}
|
||||||
scroll.scrollToBottom(options)
|
scroll.scrollToBottom(options)
|
||||||
}
|
}
|
||||||
@@ -336,7 +336,7 @@ const ChatView = ({ messages, isHidden }: ChatViewProps) => {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<div style={{ padding: "10px 15px", opacity: textAreaDisabled ? 0.7 : 1 }}>
|
<div style={{ padding: "10px 15px", opacity: textAreaDisabled ? 0.7 : 1, position: "relative" }}>
|
||||||
<DynamicTextArea
|
<DynamicTextArea
|
||||||
ref={textAreaRef}
|
ref={textAreaRef}
|
||||||
value={inputValue}
|
value={inputValue}
|
||||||
@@ -362,13 +362,12 @@ const ChatView = ({ messages, isHidden }: ChatViewProps) => {
|
|||||||
padding: "8px 36px 8px 8px",
|
padding: "8px 36px 8px 8px",
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
{textAreaHeight && (
|
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
right: "20px",
|
right: "20px",
|
||||||
height: `${textAreaHeight}px`,
|
top: "0px",
|
||||||
bottom: "12px",
|
bottom: "1.5px",
|
||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
}}>
|
}}>
|
||||||
@@ -380,7 +379,6 @@ const ChatView = ({ messages, isHidden }: ChatViewProps) => {
|
|||||||
<span className="codicon codicon-send"></span>
|
<span className="codicon codicon-send"></span>
|
||||||
</VSCodeButton>
|
</VSCodeButton>
|
||||||
</div>
|
</div>
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user