You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$500] iOS - Settings - A black line appears above the animation #36687
Navigate to Account settings - About - Troubleshoot
Swipe to the bottom of the page
Swipe to the top
Repeat steps 2 and 3 until you can repro the bug
Expected Result:
There shouldn't be a black line.
Actual Result:
A black line appears above the animation. The issue is more likely to appear of you enlarge the system font size. I'm not able to repro it at all on the smallest setting.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-] iOS - Settings - A black line appears above the animation[/-][+][$500] iOS - Settings - A black line appears above the animation[/+]on Feb 16, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Please re-state the problem that we are trying to solve in this issue.
In the iOS app, a black line intermittently appears above an animation within the Settings > About > Troubleshoot section. This visual glitch seems to manifest more frequently when the system font size is enlarged.
What is the root cause of that problem?
The issue likely stems from a rendering problem in the animation view's layout constraints or a clipping issue where the bounds of the animated content are not properly respected. Given that the problem is more pronounced with increased font sizes, it suggests that dynamic type adjustments might be affecting the view's layout.
Examination of the Current Code
The TroubleshootPage component uses the IllustratedHeaderPageLayout to render its content, including the animation provided by LottieAnimations.Desk.
What changes do you think we should make in order to solve the problem?
Check Lottie Animation Rendering:
Investigate if the Lottie component or the specific animation used (illustration prop) has any intrinsic properties that might cause the black line to appear.
Adjust the animation file or its rendering properties if necessary.
Adjust Header Layout Styles:
Although the layout seems standard, double-check the styles applied to the headerContent and headerContainerStyles to ensure there are no unintended borders or overflows that might cause the black line.
If overlayContent is used, ensure that it does not introduce any layout issues that could result in the black line. Adjust the overlay content or its styling as needed.
Test with Different System Settings:
Since the issue is more pronounced with enlarged system font sizes, test the layout and animation rendering with various system settings to ensure the problem is resolved.
Fallback Solution:
If the issue persists and is specific to iOS, consider applying a background-colored view or border that matches the page background to mask the line as a temporary workaround.
Implementation Notes:
Continue to ensure that any style adjustments do not negatively impact the layout on other platforms or with different settings.
By focusing on the animation rendering and the layout styles of the IllustratedHeaderPageLayout, the aim is to identify and resolve the root cause of the black line issue on the Troubleshoot page in the iOS app. Hopefully this is a good starting point as I believe the issue can be resolved with a little more digging if not
Good call, I'm at least going to mark this NAB and let @Gonals decide if we should close - I couldn't reproduce on latest staging, iOS native - so probably we should just close this out
Activity
[-] iOS - Settings - A black line appears above the animation[/-][+][$500] iOS - Settings - A black line appears above the animation[/+]melvin-bot commentedon Feb 16, 2024
Job added to Upwork: https://www.upwork.com/jobs/~018a96da75c014ee8f
melvin-bot commentedon Feb 16, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt (
External)github-actions commentedon Feb 16, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
melvin-bot commentedon Feb 16, 2024
Triggered auto assignment to @Gonals (
Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.kbecciv commentedon Feb 16, 2024
We think that this bug might be related to #wave8-collect-admins
CC @zanyrenney
shahinyan11 commentedon Feb 16, 2024
@kbecciv I think you attached the wrong video
Gonals commentedon Feb 16, 2024
+1
kbecciv commentedon Feb 16, 2024
@shahinyan11 @Gonals My apologies, reattached a new video.
brandonhenry commentedon Feb 16, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
In the iOS app, a black line intermittently appears above an animation within the Settings > About > Troubleshoot section. This visual glitch seems to manifest more frequently when the system font size is enlarged.
What is the root cause of that problem?
The issue likely stems from a rendering problem in the animation view's layout constraints or a clipping issue where the bounds of the animated content are not properly respected. Given that the problem is more pronounced with increased font sizes, it suggests that dynamic type adjustments might be affecting the view's layout.
Examination of the Current Code
The
TroubleshootPagecomponent uses theIllustratedHeaderPageLayoutto render its content, including the animation provided byLottieAnimations.Desk.TroubleshootPage Component (TroubleshootPage.tsx):
IllustratedHeaderPageLayout Component:
What changes do you think we should make in order to solve the problem?
Check Lottie Animation Rendering:
Lottiecomponent or the specific animation used (illustrationprop) has any intrinsic properties that might cause the black line to appear.Adjust Header Layout Styles:
headerContentandheaderContainerStylesto ensure there are no unintended borders or overflows that might cause the black line.Overlay Content Check:
overlayContentis used, ensure that it does not introduce any layout issues that could result in the black line. Adjust the overlay content or its styling as needed.Test with Different System Settings:
Fallback Solution:
Implementation Notes:
By focusing on the animation rendering and the layout styles of the
IllustratedHeaderPageLayout, the aim is to identify and resolve the root cause of the black line issue on the Troubleshoot page in the iOS app. Hopefully this is a good starting point as I believe the issue can be resolved with a little more digging if nots77rt commentedon Feb 17, 2024
@brandonhenry Thanks for the proposal. Your RCA is not clear. Can you pinpoint the root cause?
s77rt commentedon Feb 17, 2024
@Gonals Can you deprioritize this? It does not seem like a deploy blocker. I can't even reproduce. Maybe we should just close?
Beamanator commentedon Feb 19, 2024
Good call, I'm at least going to mark this NAB and let @Gonals decide if we should close - I couldn't reproduce on latest staging, iOS native - so probably we should just close this out
Gonals commentedon Feb 19, 2024
Let's go ahead and close for now