fix: enable thread expansion in focused list

This commit is contained in:
Jesper Ordrup
2026-07-14 16:20:52 +02:00
committed by Linus Rath
parent 996fa7eea6
commit 511f9e5195
+2 -2
View File
@@ -660,7 +660,7 @@ export const ThreadListItem = React.forwardRef<HTMLDivElement, ThreadListItemPro
onToggle={toggleThreadSelection} onToggle={toggleThreadSelection}
selectLabel={tBatch('select')} selectLabel={tBatch('select')}
/> />
{!isMobile && !isFocusedMailLayout && ( {!isMobile && (
<button <button
data-expand-toggle data-expand-toggle
onClick={(e) => { onClick={(e) => {
@@ -892,7 +892,7 @@ export const ThreadListItem = React.forwardRef<HTMLDivElement, ThreadListItemPro
)} )}
</div> </div>
{isExpanded && !isMobile && !isFocusedMailLayout && ( {isExpanded && !isMobile && (
<div className="bg-muted/20 animate-in slide-in-from-top-2 duration-200"> <div className="bg-muted/20 animate-in slide-in-from-top-2 duration-200">
{isLoading ? ( {isLoading ? (
<div className="py-4 flex items-center justify-center text-sm text-muted-foreground"> <div className="py-4 flex items-center justify-center text-sm text-muted-foreground">