Slider's labels turns to numbers wen width is small enough. #1634
-
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
I cannot reproduce this. I believe you are working with float numbers and the interpretLabel function cannot handle them when shrinking size resulting into values which arent fetched. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the fast reply.
Thank you. |
Beta Was this translation helpful? Give feedback.
-
Please provide a jsfiddle, we really dont have time to debug your website and find the relevant code.... however, i found your code for
The map function does not seem to find the appropriate labels for given float values (which occur when you change the width). |
Beta Was this translation helpful? Give feedback.
-
Thank you for the hint. That was a great help. |
Beta Was this translation helpful? Give feedback.
-
Closing, because it's not a FUI related core issue |
Beta Was this translation helpful? Give feedback.
Please provide a jsfiddle, we really dont have time to debug your website and find the relevant code....
however, i found your code for
interpretLabel
The map function does not seem to find the appropriate labels for given float values (which occur when you change the width).
The slider is just displaying the values you are returning from your calculation in
interpretLabel
, so debug this part of the code and change the return value accordingly for all cases.