mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-30 19:32:39 +08:00
fix: restore stopPropagation on QuestionDock wrapper
Prevents clicks inside the question dock from bubbling up to MessageList's autoScroll.handleInteraction handler.
This commit is contained in:
@@ -149,6 +149,7 @@ export const QuestionDock: Component<{ request: QuestionRequest }> = (props) =>
|
||||
}
|
||||
|
||||
return (
|
||||
<div onClick={(e: MouseEvent) => e.stopPropagation()}>
|
||||
<DockPrompt
|
||||
kind="question"
|
||||
header={
|
||||
@@ -335,5 +336,6 @@ export const QuestionDock: Component<{ request: QuestionRequest }> = (props) =>
|
||||
</div>
|
||||
</Show>
|
||||
</DockPrompt>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user