-
Notifications
You must be signed in to change notification settings - Fork 278
Closed
Labels
Description
Bug Description
When the StepInput
component re-renders with an updated value, clicking the "+" or "-" buttons in the StepInput
component may not fire the change
event.
This issue is similar to #5490.
Affected Component
StepInput
in UI5 WebComponents React
Isolated Example
https://codesandbox.io/p/sandbox/stepinput-bug-xrwl97
Steps to Reproduce
- In the codesandbox, click the plus button in the step input. An alert will pop up, indicating that the
onChange
event handler ran. (This is the expected behaviour.) - Click the "Decrement step input" button.
- Click the plus button in the step input. No alert pops up this time, so
onChange
did not run.
Expected Behaviour
Clicking the plus and minus buttons should always fire the change
event.
Log Output, Stack Trace or Screenshots
No response
Priority
Medium
UI5 Web Components Version
Reproducible on v1.24.0 and v2.10.0 of @ui5/webcomponents
and @ui5/webcomponents-react
.
Browser
Chrome
Operating System
Windows 11
Additional Context
No response
Organization
No response
Declaration
- I’m not disclosing any internal or sensitive information.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Completed