igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

[Dev Demos] Searching in a hierarchical grid with paging throws an exception.

Open gedinakova opened this issue 1 year ago • 0 comments

  • igniteui-angular version: 16.1, 17.0, 17.1
  • browser: N/A

Steps to reproduce

  1. Run dev demos
  2. Navigate to "Hierarchical Grid" demo
  3. Type "Pro" in the search box

Result

An exception is logged in the console. The active highlight is not shown.

Cannot read properties of undefined (reading 'indexOf') at IgxHierarchicalGridComponent.scrollTo (grid-base.directive.ts:7201:43) at IgxHierarchicalGridComponent.find (grid-base.directive.ts:7530:22) at IgxHierarchicalGridComponent.findNext (grid-base.directive.ts:5042:21) at GridSearchBoxComponent_Template_input_ngModelChange_4_listener (template.html:8:12) at executeListenerWithErrorHandling (core.mjs:26040:16) at Object.wrapListenerIn_markDirtyAndPreventDefault [as next] (core.mjs:26079:22) at ConsumerObserver.next (Subscriber.js:91:33) at SafeSubscriber._next (Subscriber.js:60:26) at SafeSubscriber.next (Subscriber.js:31:18)

Expected result

The active highlight should be shown. Navigation between matches should be successful.

gedinakova avatar Feb 20 '24 09:02 gedinakova