Skip to content

MOBILE-52: Fix snackbar animation#722

Merged
enotniy merged 1 commit into
developfrom
feature/MOBILE-52_fix_snackbar_animation
Jun 2, 2026
Merged

MOBILE-52: Fix snackbar animation#722
enotniy merged 1 commit into
developfrom
feature/MOBILE-52_fix_snackbar_animation

Conversation

@enotniy
Copy link
Copy Markdown
Collaborator

@enotniy enotniy commented Jun 2, 2026

https://tracker.yandex.ru/MOBILE-52

Fix snackbar animation

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the snackbar in-app entrance animation by deferring the initial slide-in until the container view has completed layout, ensuring the animation uses a non-zero measured height.

Changes:

  • Add doOnLayout and wrap the first-show slide animation trigger so it runs after layout.
  • Preserve existing top/bottom animation behavior while preventing “no-op” animations caused by height == 0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@enotniy enotniy merged commit 941afc0 into develop Jun 2, 2026
10 of 11 checks passed
@enotniy enotniy deleted the feature/MOBILE-52_fix_snackbar_animation branch June 2, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants