fix: sent indicator way off on shared file (image/video) - WPB-23929#4489
fix: sent indicator way off on shared file (image/video) - WPB-23929#4489jullianm wants to merge 1 commit intorelease/cycle-4.17from
Conversation
|
Test Results2 140 tests 2 113 ✅ 2m 33s ⏱️ Results for commit dc6dd53. ♻️ This comment has been updated with latest results. Summary: workflow run #23538132469 |
|
There was a problem hiding this comment.
@jullianm Please check that this doesnit break other places that the flow layout is used are not broken - I'm thinking especially sending/receiving multiple files.
That's a good point. I was curious and checked where FlowLayout is being used. It's not used by the file upload (drafts). Instead, it uses an HStack within a horizontal ScrollView. The other places where it's used are only the two Views where we show the tags. I checked it in the SwiftUI Preview and it looked fine. Interestingly, we also have unit tests for the FlowLayout. But sadly they didn't catch the issue with the wrong size calculation. |
|
@samwyndham @WilhelmOks checked the various places where flow layout is used and it looks fine. |



Issue
This PR fixes a layout issue on some shared file (image/video) where the height of the custom
FlowLayoutis not properly computed resulting in a sent indicator looking way off (see screenshots)BEFORE
AFTER
Testing
Describe how to test.
Optional: attachments like images, videos, etc.
Checklist
[WPB-XXX].UI accessibility checklist
If your PR includes UI changes, please utilize this checklist: