Content-Length: 279889 | pFad | https://github.com/NativeScript/NativeScript/pull/10684

9A feat(core): Added flexibility for using multiple RootLayouts by CatchABus · Pull Request #10684 · 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

feat(core): Added flexibility for using multiple RootLayouts #10684

Merged
merged 7 commits into from
Feb 2, 2025

Conversation

CatchABus
Copy link
Contributor

PR Checklist

What is the new behavior?

This PR adds flexibility for multiple RootLayouts and the getRootLayoutById function to retrieve one using its view id.
Core will keep a root layout stack just like it does with Frames.
Also, existing getRootLayout function will return the first RootLayout in the view tree.

Additionally:

  • Improved error messages
  • Fixed a problem that caused a shade cover with gradient not to switch to a colored one
  • Added iOS view disposal support to get rid of native gradient layer when needed
  • Now, shade cover will calculate its insert index based on existing popup views

@CatchABus CatchABus force-pushed the feat/multi-rootlayout branch from 7cee829 to 6f5e701 Compare January 31, 2025 22:39
@vallemar
Copy link
Contributor

vallemar commented Feb 1, 2025

I've wanted this for a long time! Nice!

@NathanWalker NathanWalker added this to the 8.9 milestone Feb 2, 2025
@NathanWalker NathanWalker merged commit 4b87a35 into NativeScript:main Feb 2, 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.

3 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/10684

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy