You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a very short period of time it shows the ng-select ng-template being created for every cell being interpreted. I did see that a while ago but never spent much time investigating it but it looks like the ng-template shows up in the DOM before being transitioned into the grid cell, I'm not sure if we need some hidden CSS somewhere to avoid seeing these pre-render in the DOM, it still shows in the online demo, perhaps it's because I think we have setTimeout to wait for a lifecycle, that might be the cause of why it happens quickly (transitioned on next cycle into the grid cell, it might be it)
I tried with ChangeDetectorRef and this.cd.detectChanges(); (or markForCheck()) but that doesn't seem to be enough for it to detect the change in the DOM
Reproduction
Go to Example 22 then start scrolling and watch the bottom of the grid, you will see that all cell data are being rendered below the grid before being transitioned to the cell itself
it happens very fast, I only managed to see it after adding a breakpoint for a tree change, these temp ng-template are what will show in the 3rd column "Assignee with Angular Component". I don't I had that problem originally and I think it's recent
Expectation
it shouldn't show these temp ng-template below the grid
Describe the bug
For a very short period of time it shows the ng-select
ng-template
being created for every cell being interpreted. I did see that a while ago but never spent much time investigating it but it looks like theng-template
shows up in the DOM before being transitioned into the grid cell, I'm not sure if we need some hidden CSS somewhere to avoid seeing these pre-render in the DOM, it still shows in the online demo, perhaps it's because I think we havesetTimeout
to wait for a lifecycle, that might be the cause of why it happens quickly (transitioned on next cycle into the grid cell, it might be it)I tried with
ChangeDetectorRef
andthis.cd.detectChanges();
(ormarkForCheck()
) but that doesn't seem to be enough for it to detect the change in the DOMReproduction
Go to Example 22 then start scrolling and watch the bottom of the grid, you will see that all cell data are being rendered below the grid before being transitioned to the cell itself
it happens very fast, I only managed to see it after adding a breakpoint for a tree change, these temp ng-template are what will show in the 3rd column "Assignee with Angular Component". I don't I had that problem originally and I think it's recent
Expectation
it shouldn't show these temp
ng-template
below the gridEnvironment Info
Validations
The text was updated successfully, but these errors were encountered: