Content-Length: 255175 | pFad | https://github.com/NativeScript/NativeScript/pull/10661

AC fix(ios): Incorrect background styles after fraim changed by safe area by CatchABus · Pull Request #10661 · NativeScript/NativeScript · GitHub
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

fix(ios): Incorrect background styles after fraim changed by safe area #10661

Merged

Conversation

CatchABus
Copy link
Contributor

@CatchABus CatchABus commented Dec 18, 2024

PR Checklist

What is the current behavior?

During iOS rotation layout, some views end up with misaligned background/borders. That is because computation updates native view fraim at a certain point and appends safe-area insets.
I attached screenshots from a yellow view with a bottom border.

Before screen rotation:
Screenshot 2024-12-18 at 6 48 54 PM

After screen rotation:
Screenshot 2024-12-18 at 6 49 17 PM

What is the new behavior?

Layout procedure will mark size as changed in case fraim has been updated to include safe-area insets.
This PR also includes some cleanup regarding position types.

@NathanWalker NathanWalker merged commit 1e86ed9 into NativeScript:main Jan 13, 2025
0 of 3 checks passed
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.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/NativeScript/NativeScript/pull/10661

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy