Description
When navigating to a page that includes IgbTileManager, a null reference error occurs on the second visit and beyond.
Steps to reproduce
Test1 (Previous page contains 'PageTitle'):
- Run the sample BlazorWASMTileManager.zip.
- Click “Counter” link on NavMenu.
- Click “TileManager” link on NavMenu.
- Click “Counter” link on NavMenu.
- Click “TileManager” link on NavMenu.
Test2 (Multiple IgbTileManager instances on the page):
- Run the sample BlazorWASMTileManager_test2.zip.
- Click “test” link.
- Click “TileManager” link.
- Click “test” link.
- Click “TileManager” link
Result for Test1 & Test2
Script Error is thrown.
Uncaught TypeError: Cannot read properties of null (reading 'assign')
at Vx.assignTiles (igniteui-webcomponents.93d992f5e69b9aa085bf.bundle.js:2964:834)
at sw._observerCallback (igniteui-webcomponents.93d992f5e69b9aa085bf.bundle.js:3049:3811)
at MutationObserver. (igniteui-webcomponents.93d992f5e69b9aa085bf.bundle.js:220:712)
Expected result for Test1 & Test2
Script Error is not thrown.
Attachments
Test1: BlazorWASMTileManager.zip
Test2: BlazorWASMTileManager_test2.zip
Description
When navigating to a page that includes IgbTileManager, a null reference error occurs on the second visit and beyond.
Steps to reproduce
Test1 (Previous page contains 'PageTitle'):
Test2 (Multiple IgbTileManager instances on the page):
Result for Test1 & Test2
Script Error is thrown.
Uncaught TypeError: Cannot read properties of null (reading 'assign')
at Vx.assignTiles (igniteui-webcomponents.93d992f5e69b9aa085bf.bundle.js:2964:834)
at sw._observerCallback (igniteui-webcomponents.93d992f5e69b9aa085bf.bundle.js:3049:3811)
at MutationObserver. (igniteui-webcomponents.93d992f5e69b9aa085bf.bundle.js:220:712)
Expected result for Test1 & Test2
Script Error is not thrown.
Attachments
Test1: BlazorWASMTileManager.zip
Test2: BlazorWASMTileManager_test2.zip