fix(frontend): Fix action buttons display bugs in chat interface (#8660)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
sp.wack 2025-05-23 19:35:41 +04:00 committed by GitHub
parent 57bfef3735
commit fa5b52298e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -153,11 +153,13 @@ export function ChatInterface() {
/>
)}
{isWaitingForUserInput && (
<ActionSuggestions
onSuggestionsClick={(value) => handleSendMessage(value, [])}
/>
)}
{isWaitingForUserInput &&
events.length > 0 &&
!optimisticUserMessage && (
<ActionSuggestions
onSuggestionsClick={(value) => handleSendMessage(value, [])}
/>
)}
</div>
<div className="flex flex-col gap-[6px] px-4 pb-4">