Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(ivy): support view references in insertBefore #2258

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

Merged
NathanWalker merged 1 commit into NativeScript:master from edusperoni:insertbefore-fix
Sep 21, 2020

Conversation

@edusperoni
Copy link
Collaborator

@edusperoni edusperoni commented Sep 20, 2020

PR Checklist

What is the current behavior?

When using ViewEngine, insertBefore is always called with the result of nextSibling. On Ivy this has changed so the View itself is returned. The current implementation will ignore view order when running with ivy

What is the new behavior?

Support view references to be passed to insertBefore, fixing positioning issues.

Fixes #2176 #2249.

bellalMohamed reacted with thumbs up emoji bellalMohamed reacted with hooray emoji bellalMohamed and kennethkeim reacted with heart emoji bellalMohamed reacted with rocket emoji
@NathanWalker NathanWalker merged commit c2eaef5 into NativeScript:master Sep 21, 2020
Copy link
Contributor

Great work 👌👌👌
Thanks a lot.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Angular 9: Using ngIf changes order of children inside a StackLayout

AltStyle によって変換されたページ (->オリジナル) /