mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-09 12:47:13 +02:00
Bugfix/scroll (#1748)
This commit is contained in:
@@ -1508,8 +1508,22 @@ export function ChatPage({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="absolute bottom-0 z-10 w-full">
|
<div
|
||||||
<div className="w-full pb-4">
|
ref={inputRef}
|
||||||
|
className="absolute bottom-0 z-10 w-full"
|
||||||
|
>
|
||||||
|
<div className="w-full relative pb-4">
|
||||||
|
{aboveHorizon && (
|
||||||
|
<div className="pointer-events-none w-full bg-transparent flex sticky justify-center">
|
||||||
|
<button
|
||||||
|
onClick={() => clientScrollToBottom(true)}
|
||||||
|
className="p-1 pointer-events-auto rounded-2xl bg-background-strong border border-border mb-2 mx-auto "
|
||||||
|
>
|
||||||
|
<FiArrowDown size={18} />
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
<ChatInputBar
|
<ChatInputBar
|
||||||
onSetSelectedAssistant={(
|
onSetSelectedAssistant={(
|
||||||
alternativeAssistant: Persona | null
|
alternativeAssistant: Persona | null
|
||||||
|
Reference in New Issue
Block a user