Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extending the separators to the trailing edge #2025

Closed
wants to merge 2 commits into from

Conversation

goergisn
Copy link
Contributor

@goergisn goergisn commented Feb 25, 2025

Summary

  • Restores the behavior of the form item separators to extend all the way to the trailing edge

Demo

Before Fixed
Simulator Screenshot - iPhone 16 Pro - 2025-02-25 at 14 38 05 Simulator Screenshot - iPhone 16 Pro - 2025-02-25 at 14 38 58

Release notes

- Separators of the form items now extend to the trailing edge

Ticket

COIOS-000

@goergisn goergisn added the fixed a pull request that fixes a bug label Feb 25, 2025
github-actions[bot]
github-actions bot previously approved these changes Feb 25, 2025
Comment on lines 258 to 262
NSLayoutConstraint.activate([
formView.topAnchor.constraint(equalTo: scrollView.topAnchor),
formView.leadingAnchor.constraint(equalTo: scrollView.layoutMarginsGuide.leadingAnchor),
formView.trailingAnchor.constraint(equalTo: scrollView.layoutMarginsGuide.trailingAnchor),
formView.leadingAnchor.constraint(equalTo: scrollView.leadingAnchor),
formView.trailingAnchor.constraint(equalTo: scrollView.trailingAnchor),
formView.bottomAnchor.constraint(equalTo: scrollView.bottomAnchor)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we have helper for this:

formView.adyen.anchor(inside: scrollView)

Regenerate snapshots

Co-authored-by: goergisn <[email protected]>
Copy link
Contributor

✅ No changes detected

Comparing fixing-form-inset to develop


Analyzed targets: Adyen, AdyenActions, AdyenCard, AdyenCashAppPay, AdyenComponents, AdyenDelegatedAuthentication, AdyenDropIn, AdyenEncryption, AdyenSession, AdyenSwiftUI, AdyenTwint, AdyenWeChatPay

@goergisn goergisn changed the title fixing extending the separators to the trailing edge Extending the separators to the trailing edge Feb 26, 2025
@goergisn goergisn closed this Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed a pull request that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants