[Dev Demos] Searching in a hierarchical grid with paging throws an exception.
- igniteui-angular version: 16.1, 17.0, 17.1
- browser: N/A
Steps to reproduce
- Run dev demos
- Navigate to "Hierarchical Grid" demo
- 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.