igniteui-webcomponents
igniteui-webcomponents copied to clipboard
Igc-Combo/Igc-Grid doesn't allow selection.
Description
Igc-Combo/Igc-Grid doesn't allow selection. (Related) https://github.com/IgniteUI/igniteui-blazor/issues/53
Steps to reproduce
- Run sample
- Enter edit mode in Country column
- Expand combo
- Try and select
Result
Items are unselectable
Expected result
Items are selectable and update cell
Attachments
Appears to be to do with Lit re-evaluating the main combo template result and since the data is created in it - there's a new ref and it retriggers the list rendering process.
https://codesandbox.io/s/agitated-voice-z8udtl?file=/src/index.ts:1597-1644
This works, but replace this.nwProds with the commented out [...this.nwindData] to see it repro.
Not entirely sure why yet, but worth checking out if there's something we do that causes extra re-renders. Could be Elements-related too.