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

Igc-Combo/Igc-Grid doesn't allow selection.

Open mddifilippo89 opened this issue 2 years ago • 1 comments

Description

Igc-Combo/Igc-Grid doesn't allow selection. (Related) https://github.com/IgniteUI/igniteui-blazor/issues/53

Steps to reproduce

  1. Run sample
  2. Enter edit mode in Country column
  3. Expand combo
  4. Try and select

Result

Items are unselectable

Expected result

Items are selectable and update cell

Attachments

binding-composite-data.zip

mddifilippo89 avatar Apr 17 '23 19:04 mddifilippo89

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.

damyanpetev avatar Apr 21 '23 15:04 damyanpetev