mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	fix: #1126 can not select prompt
This commit is contained in:
		@@ -391,7 +391,7 @@ export function Chat() {
 | 
			
		||||
  const onPromptSelect = (prompt: Prompt) => {
 | 
			
		||||
    setPromptHints([]);
 | 
			
		||||
    inputRef.current?.focus();
 | 
			
		||||
    setUserInput(prompt.content);
 | 
			
		||||
    setTimeout(() => setUserInput(prompt.content), 60);
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  // auto grow input
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user