Skip to content

Null reference error occurs when navigating to a page that includes IgbTileManager #181

Description

@mkamiishi

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'):

  1. Run the sample BlazorWASMTileManager.zip.
  2. Click “Counter” link on NavMenu.
  3. Click “TileManager” link on NavMenu.
  4. Click “Counter” link on NavMenu.
  5. Click “TileManager” link on NavMenu.

Test2 (Multiple IgbTileManager instances on the page):

  1. Run the sample BlazorWASMTileManager_test2.zip.
  2. Click “test” link.
  3. Click “TileManager” link.
  4. Click “test” link.
  5. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions