Skip to content

Conversation

@pinarol
Copy link
Contributor

@pinarol pinarol commented May 28, 2025

Closes GRA-122

The edit button's fade away animation looks a bit glitchy, it hides behind the avatar before fully fading away.

ScreenRecording_05-28-2025.13-11-13_1.MP4

Description

When the button is fading away there's a point where SwiftUI decides to degrade it in the ZStack hierarcy so it gets hidden behind the avarar before completely fading.

Setting its zIndex prevents it to be hidden behind the avatar before it completely fades.

Testing Steps

The animation issue displayed in the video should be fixed.

This will prevent it to be hidden behind the avatar before it completely fades
@pinarol pinarol requested a review from etoledom May 28, 2025 12:51
@pinarol pinarol self-assigned this May 28, 2025
@pinarol pinarol added Bug Something isn't working [Feature] Gravatar-QuickEditor Gravatar Quick Editor [Priority] Low labels May 28, 2025
Copy link
Contributor

@etoledom etoledom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect!
Thank you for this fix 🙏

@wpmobilebot
Copy link

App Icon📲 You can test the changes from this Pull Request in Gravatar Prototype Build by scanning the QR code below to install the corresponding build.
App NameGravatar Prototype Build
Build Number2389
VersionPR #766
Bundle IDcom.automattic.gravatar-sdk-demo-uikit.prototype-build
Commit02e6858
Installation URL4rqlcrt2f3l08
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@pinarol pinarol merged commit 5191340 into release/3.4.0 May 28, 2025
9 of 12 checks passed
@pinarol pinarol deleted the wppinar/fix-animation branch May 28, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working [Feature] Gravatar-QuickEditor Gravatar Quick Editor [Priority] Low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants