# Bug in dashboard/slider node?

**URL:** <https://discourse.nodered.org/t/bug-in-dashboard-slider-node/14631>\
**Category:** Dashboard\
**Created:** [22 August 2019 07:57 UTC](https://discourse.nodered.org/t/bug-in-dashboard-slider-node/14631 "2019-08-22T07:57:29Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [22 August 2019 07:57 UTC](https://discourse.nodered.org/t/bug-in-dashboard-slider-node/14631/1 "2019-08-22T07:57:29Z")

</div>

Hi, I just wonder if this is an expected functionality or not:

In the slider node, when configured "continuously while sliding", the node send both the min and max values without a problem when at the "outer ends" even if you slide fast. However, when configured "only on release" it is very difficult to "hit" the end points so that a message is sent even if the display shows the end values correctly. In the flow editor, you can also see that the values where not correctly set

Besides,  
In "continuously while sliding" mode, the actual value is not shown in the dashboard gui but it does in "only on release" mode

In both modes, the min value is not shown along the node in the flow editor if the min value is configured to 0 (zero)

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [22 August 2019 08:26 UTC](https://discourse.nodered.org/t/bug-in-dashboard-slider-node/14631/2 "2019-08-22T08:26:18Z")

</div>

Dashboard version 2.16.0  
NR version 0.20.7

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [22 August 2019 08:39 UTC](https://discourse.nodered.org/t/bug-in-dashboard-slider-node/14631/3 "2019-08-22T08:39:23Z")

</div>

I'm sorry - I don't understand the question(s).

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [22 August 2019 08:51 UTC](https://discourse.nodered.org/t/bug-in-dashboard-slider-node/14631/4 "2019-08-22T08:51:07Z")

</div>

What is not understood? I'm asking if the slider behavior is expected or if there is a bug (or several)  
Should I provide a sample flow to demonstrate?

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [22 August 2019 08:56 UTC](https://discourse.nodered.org/t/bug-in-dashboard-slider-node/14631/5 "2019-08-22T08:56:02Z")

</div>

Try this flow

```auto
[{"id":"30c700e4.5d09b","type":"ui_slider","z":"d01d2553.fd9838","name":"","label":"only on release","tooltip":"","group":"94cd9b77.f34d68","order":1,"width":0,"height":0,"passthru":true,"outs":"end","topic":"","min":0,"max":"255","step":1,"x":170,"y":1400,"wires":[["76bb9916.0ba488"]]},{"id":"a82376b6.0a19a8","type":"ui_slider","z":"d01d2553.fd9838","name":"","label":"continuously while sliding","tooltip":"","group":"94cd9b77.f34d68","order":1,"width":0,"height":0,"passthru":true,"outs":"all","topic":"","min":0,"max":"255","step":1,"x":200,"y":1460,"wires":[["c9e34355.96e5a"]]},{"id":"76bb9916.0ba488","type":"debug","z":"d01d2553.fd9838","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":420,"y":1400,"wires":[]},{"id":"c9e34355.96e5a","type":"debug","z":"d01d2553.fd9838","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":420,"y":1460,"wires":[]},{"id":"94cd9b77.f34d68","type":"ui_group","z":"","name":"Sliders","tab":"8f57f520.e87078","disp":true,"width":"6","collapse":false},{"id":"8f57f520.e87078","type":"ui_tab","z":"","name":"Some stuff","icon":"dashboard","order":3,"disabled":false,"hidden":false}]

```

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [22 August 2019 09:57 UTC](https://discourse.nodered.org/t/bug-in-dashboard-slider-node/14631/6 "2019-08-22T09:57:07Z")

</div>

@krambriw are you using Safari?

I just tried your flow (in Safari) and while it it difficult to get the end value I was able to do it. But it seems like you have to move your cursor to the point you want the slider to go and click, not click/hold the slider and move it.

I then tried it in FireFox and in Chrome and it worked just as you would expect.

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [22 August 2019 10:26 UTC](https://discourse.nodered.org/t/bug-in-dashboard-slider-node/14631/7 "2019-08-22T10:26:01Z")

</div>

Hi Paul,  
@zenofmud  
I started using \<chrome, now tried with Safari as well as with RPi browser directly, same behavior  
Sometimes you are "lucky" with just drag & release, but most of the time an additional click is required

It works as expected for other values in between min/max so something is not working correctly

BTW: you also noted that the value of zero (0) is not shown in the flow editor?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [22 August 2019 10:39 UTC](https://discourse.nodered.org/t/bug-in-dashboard-slider-node/14631/9 "2019-08-22T10:39:08Z")

</div>

Ahh yes I see it is missing

 ![missingzero](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/f/fd3ac66866c400ca2b68b0ec47e67a9b4b3aee54.jpeg)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [22 August 2019 11:39 UTC](https://discourse.nodered.org/t/bug-in-dashboard-slider-node/14631/10 "2019-08-22T11:39:32Z")

</div>

There are two things going on

1. the status not displaying 0 is already fixed in latest beta
2. the not sending when you slide past end of widget before release is it not catching the leave event as if it was a mouseup event. So while it is working as it should it could be better. fix on way.

released as part of 2.16.1

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [22 August 2019 13:27 UTC](https://discourse.nodered.org/t/bug-in-dashboard-slider-node/14631/11 "2019-08-22T13:27:42Z")

</div>

Fantastic!!! What a quick update!

It was maybe more a "cosmetic" issue,,,but everything that makes NR even better in the minor details

Kind regards, Walter

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [22 August 2019 13:53 UTC](https://discourse.nodered.org/t/bug-in-dashboard-slider-node/14631/12 "2019-08-22T13:53:58Z")

</div>

Good timing just as I was pushing out 2.16.1 🙂
