Skip to content

Upgrade ng-zorro-antd from 21.2.2 to 21.3.1 #5879

Closed

Description

@PG1204

Task Summary

Upgrade the ng-zorro-antd dependency in the GUI from 21.2.2 to 21.3.1.

Context

The frontend currently uses [email protected]. This version contains a bug in the nz-input-number component: its mouse-wheel handler (onWheel) guards on the raw nzDisabled() input instead of the computed finalDisabled() state.

When a form control is disabled through the form group, as the operator property panel does while a workflow is running, the number field greys out and blocks typing, but scrolling the mouse wheel over it still changes the value, bypassing the disabled state.

This was fixed upstream in ng-zorro's PR #9785 (merged May 2026), which guards the wheel handler on finalDisabled() || nzReadOnly(). The fix first shipped in 21.3.0; the latest stable is 21.3.1.

Proposed change

  • Bump ng-zorro-antd from 21.2.2 to 21.3.1 in frontend/package.json.
  • Regenerate frontend/yarn.lock via yarn install.
  • This is a minor-version bump within the same major (21.x), so risk is low; it also picks up other 21.3.x fixes.

Required test

  • App builds and runs with the upgraded dependency.
  • Manually verify that number fields in the operator property panel no longer change on mouse-wheel scroll while a workflow is running (the disabled state is now respected).

Related

Bug: #5848 (disabled number fields change on mouse-wheel scroll during execution) will be resolved by this upgrade.
Upstream fix: NG-ZORRO/ng-zorro-antd#9785

Task Type

  • Refactor / Cleanup
  • DevOps / Deployment / CI
  • Testing / QA
  • Documentation
  • Performance
  • Other

Activity

  1. added theissue type on Jun 22, 2026
  2. PG1204 commented on Jun 22, 2026

    @PG1204
    ContributorAuthor

    /take

  3. added a commit that references this issue on Jun 23, 2026
    c39e99b
  4. added a commit that references this issue on Jun 23, 2026
    5a3ddcc
  5. added a commit that references this issue on Jun 24, 2026
    09e5939
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions