fix: preserve chat composer focus on mobile keyboard
Keeps the textarea reference available during mobile viewport adjustments Ensures the composer scrolls back into view after keyboard interactions Updates text selection menu dependencies to include the current session
This commit is contained in:
@@ -544,7 +544,7 @@ export const TextSelectionMenu: React.FC<TextSelectionMenuProps> = ({ containerR
|
||||
} finally {
|
||||
setIsAddingToNotes(false);
|
||||
}
|
||||
}, [currentProjectRef, hideMenu, selectedText, selectedTextMarkdown, t]);
|
||||
}, [currentProjectRef, currentSessionId, hideMenu, selectedText, selectedTextMarkdown, t]);
|
||||
|
||||
if (!position.show) return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user