FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(ivy): support view references in insertBefore by edusperoni · Pull Request #2258 · NativeScript/nativescript-angular · GitHub

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

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

fix(ivy): support view references in insertBefore#2258
NathanWalker merged 1 commit into
NativeScript:masterfrom
edusperoni:insertbefore-fix

Conversation

Copy link
Copy Markdown
Collaborator

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.

cla-bot Bot added the cla: yes label Sep 20, 2020
NathanWalker merged commit c2eaef5 into NativeScript:master Sep 21, 2020

Copy link
Copy Markdown
Contributor

Great work 👌👌👌
Thanks a lot.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

3 participants


Back | FazBrowse Home | New Git URL