Content-Length: 260831 | pFad | https://github.com/NativeScript/NativeScript/pull/10690

B3 fix(core): ignore inserting child if < 0 by NathanWalker · Pull Request #10690 · 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(core): ignore inserting child if < 0 #10690

Merged
merged 3 commits into from
Feb 5, 2025
Merged

Conversation

NathanWalker
Copy link
Contributor

@NathanWalker NathanWalker commented Feb 5, 2025

PR Checklist

What is the current behavior?

A throw could occur during layout introduced from this change which would bubble out to a v8 engine crash:
https://github.com/NativeScript/NativeScript/pull/10679/files#diff-ff996ba7476badc71c6c2ce6924be412385d3ea43a8785248a28159b3f7d203eR54

What is the new behavior?

Just ignore inserting children if < 0.

Notes: Usage of CollectionView surfaced this issue.

@NathanWalker NathanWalker added this to the 8.9 milestone Feb 5, 2025
@NathanWalker NathanWalker merged commit 2305511 into main Feb 5, 2025
2 of 3 checks passed
@NathanWalker NathanWalker deleted the fix/insert-child-negative branch February 5, 2025 17:59
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/10690

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy