-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ui5-range-slider): fire input event with correct values after swapping #6385
Conversation
…dle swapping resolves #6377 Also fixes the visual bugs with the progress bar during value swap when dragging the handles.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change fixes the issue but introduces a new one as well.
Check the sample "Event Testing Slider". Drag the first handle slowly, swapping it with the other one, notice how the "input" event is fired but the handle is not visualised. It is visualised again two steps after the swap which is not expected.
…pping fix the bug from the testing
…pping Fix change event firing on keyboard interactions and the swapping bug on keyboard triggered swaps
…pping Clean the comment
…pping (#6385) * fix(ui5-range-slider): fire input event with correct values after handle swapping resolves #6377 Also fixes the visual bugs with the progress bar during value swap when dragging the handles. * fix(ui5-range-slider): fire input event with correct values after swapping fix the bug from the testing * fix(ui5-range-slider): fire input event with correct values after swapping * fix(ui5-range-slider): fire input event with correct values after swapping Fix change event firing on keyboard interactions and the swapping bug on keyboard triggered swaps * fix(ui5-range-slider): fire input event with correct values after swapping Clean the comment * fix(ui5-range-slider): fire input event with correct values after swapping lint * fix(ui5-range-slider): don't fire change event if values are not changed * fix(ui5-range-slider): fire input event with correct values after swapping fix typos
…pping (#6385) * fix(ui5-range-slider): fire input event with correct values after handle swapping resolves #6377 Also fixes the visual bugs with the progress bar during value swap when dragging the handles. * fix(ui5-range-slider): fire input event with correct values after swapping fix the bug from the testing * fix(ui5-range-slider): fire input event with correct values after swapping * fix(ui5-range-slider): fire input event with correct values after swapping Fix change event firing on keyboard interactions and the swapping bug on keyboard triggered swaps * fix(ui5-range-slider): fire input event with correct values after swapping Clean the comment * fix(ui5-range-slider): fire input event with correct values after swapping lint * fix(ui5-range-slider): don't fire change event if values are not changed * fix(ui5-range-slider): fire input event with correct values after swapping fix typos
Resolves #6377
Resolves #6413
Fixes the visual bugs with the progress bar during value swap when dragging the handles.
Fixes change event firing on keyboard interactions and the swapping bug on keyboard triggered swaps.
Fixed bug where change event is fired after mouse interaction even if the initial values are not changed.
Note: The swapping of the values is no longer executed on finalized interaction (mouseup, keyup), but immediately after the start value is bigger than the end one.