René's URL Explorer Experiment


Title: [Angular 10] Using *ngIf breaks layout order · Issue #2249 · NativeScript/nativescript-angular · GitHub

Open Graph Title: [Angular 10] Using *ngIf breaks layout order · Issue #2249 · NativeScript/nativescript-angular

X Title: [Angular 10] Using *ngIf breaks layout order · Issue #2249 · NativeScript/nativescript-angular

Description: Environment CLI: 7.0.7 Android Runtime: 7.0.0 NativeScript-Angular: 10.1.0 Angular: 10.1.0 Describe the bug Using *ngIf over an element/component breaks layout order unless the element/component is wrapped in another layout. To Reproduce...

Open Graph Description: Environment CLI: 7.0.7 Android Runtime: 7.0.0 NativeScript-Angular: 10.1.0 Angular: 10.1.0 Describe the bug Using *ngIf over an element/component breaks layout order unless the element/component is...

X Description: Environment CLI: 7.0.7 Android Runtime: 7.0.0 NativeScript-Angular: 10.1.0 Angular: 10.1.0 Describe the bug Using *ngIf over an element/component breaks layout order unless the element/component is...

Opengraph URL: https://github.com/NativeScript/nativescript-angular/issues/2249

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Angular 10] Using *ngIf breaks layout order","articleBody":"**Environment**\r\n - CLI: 7.0.7\r\n - Android Runtime: 7.0.0\r\n - NativeScript-Angular: 10.1.0\r\n - Angular: 10.1.0\r\n \r\n**Describe the bug**\r\nUsing *ngIf over an element/component breaks layout order unless the element/component is wrapped in another layout.\r\n\r\n![Screenshot from 2020-09-14 00-11-12](https://user-images.githubusercontent.com/6737508/93027382-9c9b5280-f621-11ea-8cd9-14022723e680.png)\r\n\r\n**To Reproduce**\r\njust try:\r\n\r\n```\r\n\u003cStackLayout\u003e\r\n    \u003cLabel text=\"First label\" *ngIf=\"true\"\u003e\u003c/Label\u003e\r\n    \u003cLabel text=\"Second label\"\u003e\u003c/Label\u003e\r\n\u003c/StackLayout\u003e\r\n```\r\n\r\n**Expected behavior**\r\n`First label` should be rendered before `Second label`.\r\n\r\n**Sample project**\r\nhttps://github.com/mohammadrafigh/dynamic-component-issue\r\n\r\n**Additional context**\r\nI'm not sure if it just happens with StackLayout or not but as a workaround wrapping `First label` like this fixes the order problem:\r\n\r\n```\r\n\u003cStackLayout\u003e\r\n    \u003cStackLayout\u003e\r\n        \u003cLabel text=\"First label\" *ngIf=\"true\"\u003e\u003c/Label\u003e\r\n    \u003c/StackLayout\u003e\r\n    \u003cLabel text=\"Second label\"\u003e\u003c/Label\u003e\r\n\u003c/StackLayout\u003e\r\n```\r\n\r\nIf it helps, the problem occurred after upgrading to Angular 10.0.0 but since the core module was in \"rc\" I thought this might be a known issue and would be fixed in final release, So this may be an inconsistency problem with Angular rendering behavior and Nativescript runtime.","author":{"url":"https://github.com/mohammadrafigh","@type":"Person","name":"mohammadrafigh"},"datePublished":"2020-09-13T20:01:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/2249/nativescript-angular/issues/2249"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e7f80612-e638-e7d6-1f2f-5197ba6b11b2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA6B4:371600:24798CE:31D7D4F:696AC89B
html-safe-noncea13aff233345f8a5df5deb5fe573436cd699a1d977ee29880f793ba7e3a2541b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkI0OjM3MTYwMDoyNDc5OENFOjMxRDdENEY6Njk2QUM4OUIiLCJ2aXNpdG9yX2lkIjoiNjI2NTQwNzY0MzU5MzY1NjQ3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace68016ec31250840aa60b6f2f9ede3a2859185393e4747d6915d4be92e5eacc0
hovercard-subject-tagissue:700637092
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-angular/2249/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9dafe7faa36ff8d39b9a6fa47203a6eb57657b5f6510f41794463f19026de754/NativeScript/nativescript-angular/issues/2249
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9dafe7faa36ff8d39b9a6fa47203a6eb57657b5f6510f41794463f19026de754/NativeScript/nativescript-angular/issues/2249
og:image:altEnvironment CLI: 7.0.7 Android Runtime: 7.0.0 NativeScript-Angular: 10.1.0 Angular: 10.1.0 Describe the bug Using *ngIf over an element/component breaks layout order unless the element/component is...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemohammadrafigh
hostnamegithub.com
expected-hostnamegithub.com
Nonec785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/nativescript-angular git https://github.com/NativeScript/nativescript-angular.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id35951404
octolytics-dimension-repository_nwoNativeScript/nativescript-angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id35951404
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec718a376fcf780eb22089171adb84a543f660bf7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-angular/issues/2249#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-angular%2Fissues%2F2249
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-angular%2Fissues%2F2249
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NativeScript%2Fnativescript-angular
Reloadhttps://github.com/NativeScript/nativescript-angular/issues/2249
Reloadhttps://github.com/NativeScript/nativescript-angular/issues/2249
Reloadhttps://github.com/NativeScript/nativescript-angular/issues/2249
NativeScript https://github.com/NativeScript
nativescript-angularhttps://github.com/NativeScript/nativescript-angular
Please reload this pagehttps://github.com/NativeScript/nativescript-angular/issues/2249
Notifications https://github.com/login?return_to=%2FNativeScript%2Fnativescript-angular
Fork 240 https://github.com/login?return_to=%2FNativeScript%2Fnativescript-angular
Star 1.2k https://github.com/login?return_to=%2FNativeScript%2Fnativescript-angular
Code https://github.com/NativeScript/nativescript-angular
Issues 294 https://github.com/NativeScript/nativescript-angular/issues
Pull requests 2 https://github.com/NativeScript/nativescript-angular/pulls
Actions https://github.com/NativeScript/nativescript-angular/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/NativeScript/nativescript-angular/security
Please reload this pagehttps://github.com/NativeScript/nativescript-angular/issues/2249
Insights https://github.com/NativeScript/nativescript-angular/pulse
Code https://github.com/NativeScript/nativescript-angular
Issues https://github.com/NativeScript/nativescript-angular/issues
Pull requests https://github.com/NativeScript/nativescript-angular/pulls
Actions https://github.com/NativeScript/nativescript-angular/actions
Security https://github.com/NativeScript/nativescript-angular/security
Insights https://github.com/NativeScript/nativescript-angular/pulse
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-angular/issues/2249
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-angular/issues/2249
[Angular 10] Using *ngIf breaks layout orderhttps://github.com/NativeScript/nativescript-angular/issues/2249#top
https://github.com/mohammadrafigh
https://github.com/mohammadrafigh
mohammadrafighhttps://github.com/mohammadrafigh
on Sep 13, 2020https://github.com/NativeScript/nativescript-angular/issues/2249#issue-700637092
https://user-images.githubusercontent.com/6737508/93027382-9c9b5280-f621-11ea-8cd9-14022723e680.png
https://github.com/mohammadrafigh/dynamic-component-issuehttps://github.com/mohammadrafigh/dynamic-component-issue
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.