Skip to content

Commit

Permalink
fix: "Contact info" contents jumping continuously
Browse files Browse the repository at this point in the history
given the right contact name length, e.g. "aaaaaaa@example.com"

Not the best solution, but appears to work for now.

Closes #3971

Co-authored-by: Simon Laux <Simon-Laux@users.noreply.github.com>
  • Loading branch information
WofWca and Simon-Laux committed Aug 5, 2024
1 parent 432426d commit b31503b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
- fix HTML email content not being zoomed #4052
- fix Icon preview of latest WebXDC displayed when summary is reaction event #4062
- fix stretched summaryPreviewIcon #4064
- fix "Contact info" card layout continuously jumping for contact names of certain length #4068


<a id="1_46_1"></a>
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/dialogs/ViewProfile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export function ViewProfileInner({
loadMoreRows={loadChats}
rowCount={chatListIds.length}
width={width}
height={height}
height={height - 2}
itemKey={index => 'key' + chatListIds[index]}
itemHeight={CHATLISTITEM_CHAT_HEIGHT}
>
Expand Down

0 comments on commit b31503b

Please sign in to comment.