IgniteUI / igniteui-angular

Ignite UI for Angular is a complete library of Angular-native, Material-based Angular UI components with the fastest grids and charts, Pivot Grid, Dock Manager, Hierarchical Grid, and more.
https://www.infragistics.com/products/ignite-ui-angular
Other
568 stars 159 forks source link

When change in first row of dropdown then 13 th row dropdown changes automatically #14305

Closed SunnyDohale closed 1 week ago

SunnyDohale commented 1 month ago

After an investigation, I assume that this behavior is observed because of the virtualization of the igx-grid and because only the first 12 rows are displayed initially.

Result

When change in first row of dropdown then 13 th row dropdown changes automatically

Expected result

When change in first row of dropdown then 13 th row should not show data from first row dropdown

Attachments

Attached is the sample code

s6z9dg.zip

ChronosSF commented 1 month ago

@jackofdiamond5 , since the templates are being reused during the scroll the combos are getting updated inputs instead of being recreated. When the id of a combo in the template changes , it is no longer able to find its selected state from the service and throws an exception. The fix could be as simple as having some reinit logic around an id setter but it needs further investigation.