question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

InsertRemoveComponent not shown into the stock demo on StackBlitz

See original GitHub issue

šŸ“š Docs or angular.io bug report

Description

The InsertRemoveComponent, while included and imported into the demo package itself, is not shown in the actual demo — have to add it manually

There is one weirdness about it, from my understanding this may be a bug — if you double-click on the ā€œToggle Insert/Removeā€ button quickly, you’ll see multiple instances of the text being shown/removed

šŸ”¬ Minimal Reproduction

What’s the affected URL?**

https://angular.io/generated/live-examples/animations/stackblitz.html referred from https://angular.io/guide/transition-and-triggers#use-of-ngif-and-ngfor-with-enter-and-leave

Reproduction Steps**

Expected vs Actual Behavior**

šŸ“·Screenshot

šŸ”„ Exception or Error





šŸŒ Your Environment

Browser info

Anything else relevant?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
pasha-bolokhovcommented, Jan 30, 2020

Since I’m at here, wanted to ask the following question. The doc style that Angular uses is also kind of used by RxJS and possibly other libraries or frameworks. Is it possible to reuse (with some customization) your doc style, is there any copyright? I understand cloning the repo would work, but it’s quite large, and changing it all at once might be difficult. Plus, you’re actually typesetting in Markdown. Is there a quick starter for all of that for one’s own projects? Sorry if this is not the right place to ask this

1reaction
pasha-bolokhovcommented, Jan 30, 2020

I thought that it could have just been doing ok, and the behaviour is normal, as long as one understands what’s going on — that the animation is long. And, if there was a reason for making the animation long, and this extra DOM ā€œfeatureā€ may have some ā€œeducationalā€ value, then we could keep it at 5 seconds. I’m fine either way… Thanks for clearing this out!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular Example - Angular Animations Guide - StackBlitz
activatedRouteData['animation'];. } toggleAnimations() {. import. Enter to Rename, Shift+Enter to Preview. Compiling application & starting dev server…
Read more >
Components Issue - StackBlitz
Issue template for @angular/material.
Read more >
Angular Example - Angular Animations Guide - StackBlitz
Angular Example - Angular Animations Guide. Open in New Tab Close. Sign in. Project. Search. Settings. Switch to Light Theme. Enter Zen ModeĀ ......
Read more >
Multiple Animations - StackBlitz
activatedRouteData['animation'];. } toggleAnimations() {. import. Enter to Rename, Shift+Enter to Preview. Compiling application & starting dev server…
Read more >
Demo - StackBlitz
Starter project for Angular apps that exports to the Angular CLI. ... Share. Editor Preview Both. Sign in. Project. Search. Settings. Switch to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found