anchor.diff:    }
   
     void onScroll() {
  +    if(!active)return;
       resizeEvent._sizesRecheck(resize);
       reset();
     }
  
positive.code:   HtmlElement _shrinkElement;
    HtmlElement host;
    ResizeEvent resizeEvent = new ResizeEvent();
  
    ResizeSensorComponent(ElementRef hostElement) {
      dynamic _host = hostElement.nativeElement;
  
negative.code:   void ngOnInit() {
      reset();
      if(host.parent == null){
        // if *ngIf used, component is created detached
        // Component is not attached in DOM. No idea why, no idea what to do.
      }else{
        resizeEvent.sizeCheckedElement = host.parent;
        active = true;
      }
    }
  
  