SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.56k stars 267 forks source link

[ui5-list]: item-click event won't be fired when check/uncheck the item checkbox under multiple selection mode #10183

Open GongRichard opened 2 days ago

GongRichard commented 2 days ago

Bug Description

item-click event won't be fired when check/uncheck the item checkbox under multiple selection mode

Affected Component

ui5-list

Expected Behaviour

item-click event should be fired when check/uncheck the item checkbox under multiple selection mode

Isolated Example

No response

Steps to Reproduce

  1. open https://stackblitz.com/edit/github-hlyj8c?file=src%2FApp.tsx
  2. check/uncheck the checkbox in the list item, check the console log
  3. you can't find the log "list item was clicked!"

Log Output, Stack Trace or Screenshots

No response

Priority

High

UI5 Web Components Version

2.4.0

Browser

Chrome, Edge

Operating System

No response

Additional Context

SF has upcoming release window within two weeks, please fix this issue as high priority.

Organization

SAP SuccessFactors

Declaration

dobrinyonkov commented 2 days ago

Hello @GongRichard,

While we investigate the root cause and work on a fix, I recommend using the native onClick event on the list as a temporary workaround for your short release window.

Hello @SAP/ui5-webcomponents-topic-p,

Please look into why the item-click event is not fired when selection checkboxes are clicked. Be sure to also consider the behavior of radio buttons in single-select mode.

It’s likely that the solution for this issue will automatically resolve #10184. Additionally, please verify the solution for the tree component as well.

Kind regards, Dobrin