Skip to content

[Checkbox]: selection change triggered by non-user events #12800

@fhlavac

Description

@fhlavac

Bug Description

We found an issue in the Checkbox component (@ui5/webcomponents-react): the selection change handler is called even though the user did not change the selection.

Affected Component

Checkbox

Expected Behaviour

The onSelectionChange handler should only be called in response to a real user action.

Isolated Example

(hopefully should not be needed, please let us know)

Steps to Reproduce

We expect it to be a similar issue as already reported here #12266

Log Output, Stack Trace or Screenshots

Recording (checkbox selected manually for both source and target and the selection disappears itself in both checkboxes):
https://github.com/user-attachments/assets/aba9ca18-a0d6-4aa3-a062-bdab07b20c0d

Priority

Medium

UI5 Web Components Version

2.17.0

Browser

Chrome

Operating System

macOS

Additional Context

No response

Organization

SAP Signavio - PAM

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions