scroll behaviour tweak

This commit is contained in:
YasinOnm08 2024-10-01 16:54:56 +02:00
parent 99a42a1f3a
commit 34d038fc0d

View file

@ -98,7 +98,7 @@ const ConversationFrontend = React.forwardRef<HTMLDivElement, ConversationProps>
<span className="tooltiptext">{isClicked?"Copied!": "Copy" }</span> <span className="tooltiptext">{isClicked?"Copied!": "Copy" }</span>
</div> </div>
</div> </div>
<div className={"endOfMessages"} ref={messagesEndRef} style={{height:"10px"}}/> <div className={"endOfMessages"} ref={messagesEndRef} style={{ height: "3px"}}/>
</div> </div>
<button id="scrollToBottom" disabled={isScrolling?true:false} style={{visibility: isScrolling?"hidden":"visible"}} onClick={()=> setIsScrolling(true)}>Down</button> <button id="scrollToBottom" disabled={isScrolling?true:false} style={{visibility: isScrolling?"hidden":"visible"}} onClick={()=> setIsScrolling(true)}>Down</button>
</div> </div>