mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	Revert "fix: autoscroll conflict"
This commit is contained in:
		@@ -354,7 +354,6 @@ export function Chat(props: {
 | 
			
		||||
  const [hitBottom, setHitBottom] = useState(false);
 | 
			
		||||
 | 
			
		||||
  const onChatBodyScroll = (e: HTMLElement) => {
 | 
			
		||||
    setAutoScroll(false);
 | 
			
		||||
    const isTouchBottom = e.scrollTop + e.clientHeight >= e.scrollHeight - 20;
 | 
			
		||||
    setHitBottom(isTouchBottom);
 | 
			
		||||
  };
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user