fix: chat scrolling fix
This commit is contained in:
		@@ -17,7 +17,7 @@ const Chat = () => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    const onFollowOutputHandler = useCallback(
 | 
					    const onFollowOutputHandler = useCallback(
 | 
				
			||||||
        (atBottom: boolean) => {
 | 
					        (atBottom: boolean) => {
 | 
				
			||||||
            if (atBottom || lastMessage?.crmSender) {
 | 
					            if (atBottom) {
 | 
				
			||||||
                return "auto";
 | 
					                return "auto";
 | 
				
			||||||
            } else {
 | 
					            } else {
 | 
				
			||||||
                return false;
 | 
					                return false;
 | 
				
			||||||
@@ -75,7 +75,7 @@ const Chat = () => {
 | 
				
			|||||||
                itemContent={itemContent}
 | 
					                itemContent={itemContent}
 | 
				
			||||||
                startReached={fetchMoreMessages}
 | 
					                startReached={fetchMoreMessages}
 | 
				
			||||||
                height={"100%"}
 | 
					                height={"100%"}
 | 
				
			||||||
                increaseViewportBy={100}
 | 
					                increaseViewportBy={200}
 | 
				
			||||||
                alignToBottom
 | 
					                alignToBottom
 | 
				
			||||||
            />
 | 
					            />
 | 
				
			||||||
            <MessageInput />
 | 
					            <MessageInput />
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user