Skip to content

Conversation

@yoanarios
Copy link
Contributor

πŸ“œ Tickets

Jira ticket
Github issue

πŸ’‘ Description

Use transform in animation instead of changing view constraints. There is still tweaks needed I notice some jumps when the views shows but there is not enough translation so it's canceled but visually it was shown completely

Simulator.Screen.Recording.-.iPhone.17.-.2025-10-29.at.15.22.12.mov

πŸ“ Checklist

  • I filled in the ticket numbers and a description of my work
  • I updated the PR name to follow our PR naming guidelines
  • I ensured unit tests pass and wrote tests for new code
  • If working on UI, I checked and implemented accessibility (Dynamic Text and VoiceOver)
  • If adding telemetry, I read the data stewardship requirements and will request a data review
  • If adding or modifying strings, I read the guidelines and will request a string review from l10n
  • If needed, I updated documentation and added comments to complex code
@yoanarios yoanarios requested a review from a team as a code owner October 29, 2025 20:15
@mobiletest-ci-bot
Copy link

Messages
πŸ“– Project coverage: 37.86%

🧹 Tidy commit

Just 2 file(s) touched. Thanks for keeping it clean and review-friendly!

πŸ’¬ Description craftsman

Great PR description! Reviewers salute you 🫑

❌ Per-file test coverage gate

The following changed file(s) are below 35.0% coverage:

File Coverage Required
firefox-ios/Client/Frontend/Browser/BrowserViewController/Extensions/BrowserViewController+TabScrollHandlerDelegate.swift 0.0% 35.0%

Client.app: Coverage: 37.09

File Coverage
BrowserViewController.swift 32.25% ⚠️
BrowserViewController+TabScrollHandlerDelegate.swift 0.0% ⚠️

Generated by 🚫 Danger Swift against 116860b

Copy link
Collaborator

@FilippoZazzeroni FilippoZazzeroni left a comment

Choose a reason for hiding this comment

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

Looks Great to me @yoanarios, just a super nit comment.

let topOffset = clamp(offset: originTop - clampProgress, min: headerOffset, max: 0)
headerTopConstraint?.update(offset: topOffset)
header.superview?.layoutIfNeeded()
let isCollapsing = (state == .collapsed)
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: i think we can remove the brackets

Copy link
Contributor Author

Choose a reason for hiding this comment

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

true, I will fix in my next PR

@yoanarios yoanarios merged commit f99853e into main Nov 4, 2025
9 checks passed
@yoanarios yoanarios deleted the yrd/FXIOS-13951-refactor-use-transform-to-animate-toolbars branch November 4, 2025 15:23
@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

πŸš€ PR merged to main, targeting version: 145.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants