fix: enable thread expansion in focused list
This commit is contained in:
committed by
Linus Rath
parent
996fa7eea6
commit
511f9e5195
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user