avoid mobile focus on conversation selection
This commit is contained in:
@@ -1467,7 +1467,8 @@ export default function App() {
|
||||
if (isActiveSelectionSending) return;
|
||||
const hasWorkspaceSelection = Boolean(selectedItem) || draftKind !== null;
|
||||
if (!hasWorkspaceSelection) return;
|
||||
if (suppressNextMobileComposerFocusRef.current && isMobileLayout()) {
|
||||
const mobileLayout = isMobileLayout();
|
||||
if (mobileLayout && (Boolean(selectedItem) || suppressNextMobileComposerFocusRef.current)) {
|
||||
suppressNextMobileComposerFocusRef.current = false;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user