RadzenSlider, when the mouse outside RadzenSlider and when the fixed button is released the event @onmouseup is don't called #1077

Closed
opened 2026-01-29 17:48:39 +00:00 by claunia · 1 comment
Owner

Originally created by @Andrey-2021 on GitHub (Dec 28, 2023).

In RadzenSlider I use event @onmouseup to reload date from data base =
The event is used as a flag that the number has changed and fixed

To Reproduce
Steps to reproduce the behavior:
I have RadzenSlider with Range="true"

  1. Capture the circle of RadzenSlider = hold down the left mouse button and do not unclench
  2. Move the mouse outside the component (the button remains pressed, do not unclench).
    When we move the mouse, we see that the value is changing
  3. Release the button.
    The value is fixed, but the event "@onmouseup" is not triggered.
    I believe that the event "onmouseup" should be triggered (be called), BECAUSE the value is fixed.

Expected behavior
Whenever the mouse button is released, an event "@onmouseup" should be triggered (be called)

Screenshots
image

Originally created by @Andrey-2021 on GitHub (Dec 28, 2023). In RadzenSlider I use event @onmouseup to reload date from data base = The event is used as a flag that the number has changed and fixed **To Reproduce** Steps to reproduce the behavior: I have RadzenSlider with Range="true" 1. Capture the circle of RadzenSlider = hold down the left mouse button and do not unclench 2. Move the mouse outside the component (the button remains pressed, do not unclench). When we move the mouse, we see that the value is changing 3. Release the button. The value is fixed, but the event "@onmouseup" is not triggered. I believe that the event "onmouseup" should be triggered (be called), BECAUSE the value is fixed. **Expected behavior** Whenever the mouse button is released, an event "@onmouseup" should be triggered (be called) **Screenshots** ![image](https://github.com/radzenhq/radzen-blazor/assets/92442252/a8e34ec8-d3cf-433e-aa05-7f5802d94476)
Author
Owner

@enchev commented on GitHub (Jan 10, 2024):

I'm afraid that this is expected - mouse events are raised over the related component only. You should use Change event of the Slider.

@enchev commented on GitHub (Jan 10, 2024): I'm afraid that this is expected - mouse events are raised over the related component only. You should use Change event of the Slider.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1077