Skip to content

Commit

Permalink
fix: Last threads list item doesn't display completely (#32248)
Browse files Browse the repository at this point in the history
  • Loading branch information
dougfabris authored Apr 19, 2024
1 parent 8b0986d commit d134a4d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/heavy-singers-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/meteor': patch
---

Fixes an issue where the last threads list item wasn't displaying properly
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const ThreadList: VFC = () => {
<ContextualbarClose onClick={handleTabBarCloseButtonClick} />
</ContextualbarHeader>

<ContextualbarContent paddingInline={0} ref={ref}>
<ContextualbarContent paddingInline={0}>
<Box
display='flex'
flexDirection='row'
Expand Down Expand Up @@ -164,7 +164,7 @@ const ThreadList: VFC = () => {

{phase !== AsyncStatePhase.LOADING && itemCount === 0 && <ContextualbarEmptyContent title={t('No_Threads')} />}

<Box flexGrow={1} flexShrink={1} overflow='hidden' display='flex'>
<Box flexGrow={1} flexShrink={1} overflow='hidden' display='flex' ref={ref}>
{!error && itemCount > 0 && items.length > 0 && (
<Virtuoso
style={{
Expand Down

0 comments on commit d134a4d

Please sign in to comment.