question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Form Range [no UI slider ] tooltips with longer values

See original GitHub issue
var slider = document.getElementById('priceSlider');

        noUiSlider.create(slider, {
            start: [0, 50000],
            tooltips: true,
            connect: false,
            step: 500,
            range: {
                'min': 0,
                'max': 50000
            },
            format: wNumb({
                decimals: 2,
                thousand: '.',
                postfix: ' $.',
            })
        });

in this case the number doesnt fit into the tooltip. Tested with chrome.

Is this a bug, or there is an css fix I have to apply for myself ?

//also does anyone knows how to add labels to this noUI slider ?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
joglrcommented, Jul 29, 2021

@joglr The code snippet not available anymore and I’m facing the exact same problem. Do you, by any change, still have the code after 5 years? xD

I changed my username since then, I’ve fixed the link above. Hope you can use it!

0reactions
ZeCarlosCoutinhocommented, Jul 29, 2021

@joglr The code snippet not available anymore and I’m facing the exact same problem. Do you, by any change, still have the code after 5 years? xD

Read more comments on GitHub >

github_iconTop Results From Across the Web

noUiSlider - Options and settings - Refreshless.com
When using two handles, the minimum distance between the handles can be set using the margin option. The margin value is relative to...
Read more >
First steps with noUiSlider: Integration into HTML forms and ...
Tooltips is showing the number as a float (decimals)​​ By default, noUiSlider handles the whole slider range as a "float", meaning a number...
Read more >
jquery - NoUiSlider Tooltip - Stack Overflow
First, find the tooltip: var tt = slider.querySelector('.noUi-tooltip'); . Then you can toggle a hidden class that you've defined in CSS: ...
Read more >
Range Slider (noUiSlider) - Documentation | Front - Htmlstream
node_modules/nouislider/dist/nouislider.min.js"></script> ... Range with tooltip. Preview; HTML ... Min and max values input. Preview; HTML.
Read more >
shinyWidgets source: R/input-noUiSlider.R - Rdrr.io
@param tooltips logical, display slider's value in a tooltip above slider. #' @param connect logical, vector of length \code{value} + 1, color slider...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found