Igniteui-angular: Error with IgxSelect pinned in IgxGrid

Created on 30 Mar 2020  路  4Comments  路  Source: IgniteUI/igniteui-angular

Description

When IgxSelect is pinned at runtime in an IgxGrid, the "unpin" is throwing this error :
Error: Uncaught (in promise): ObjectUnsubscribedError: object unsubscribed

  • igniteui-angular version:
    "igniteui-angular": "^9.0.6",
  • browser:
    Tested on Chrome (Version 80.0.3987.149), Firefox (73.0.1) & Edge (Version 80.0.361.69)

Steps to reproduce

https://stackblitz.com/edit/igx-select-pinned-bug-in-igx-grid

  1. Start with a wide screen (columns should not be pinned)
  2. Reduce the screen so the columns get pinned
  3. Widen the screen so the columns get unpinned
  4. The error appears in the log and it messes up the display of the grid (see screenshot in attachement)

For some reason this only happens when there is at least 3 columns pinned

Result

The error "Error: Uncaught (in promise): ObjectUnsubscribedError: object unsubscribed" is printed in the console
And it messes up the display of the grid

Expected result

No error should occur thus fixing the display of the grid

Attachments

https://stackblitz.com/edit/igx-select-pinned-bug-in-igx-grid

Exemple of "messing up" the grid in our app (yes it's a hierarchical grid but it has the same behavior as pointed out in the stackblitz)
image

"Workaround"

Widening the screen a bit more refreshes the display and fixes the grid
The problem is that you have to tell your user about this

PS :
https://github.com/IgniteUI/igniteui-angular/issues/6837 and https://github.com/IgniteUI/igniteui-angular/issues/6823 are not related to this issue

bug select resolved 9.0.x 9.1.x

All 4 comments

@bmtheo I did q little update of the app, to use our typography. As for the error, it is reproducible thanks to your sample.

There has been no recent activity and this issue has been marked inactive.

Update to avoid automatic closing

Not reproducible in 8.2.
Here is and simpler sample.
Click twice on the button to reproduce the issue.

Was this page helpful?
0 / 5 - 0 ratings