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.

nouislider 2 handles, application bug using android and iOS emulators

See original GitHub issue

Good day, I hope all is well. I had been using nouislider.js for a hybrid mobile application I am working on. Everything looked great, worked well, when tested locally in my web browser.

As soon as I put it into an emulator though (ripple) for both android and iOS, the multi-handle functionality breaks. You can move either the lower or the upper handle in whichever order and at first it appears to work, but as soon as you touch the second handle, they both occupy the same space/value.

For example, if I have a range of 0-100, lower handle defaulted to 20 and upper handle defaulted to 80, I can move either one of them to whatever value. As soon as I touch the second handle though (doesn’t matter which), the first handle always jumps to the same value as the second one I interfaced with.

To elaborate, if I move lower handle to, say, value 30. As soon as I move the upper handle to value 70 or whatever the case may be, the first handle then becomes value 70 as well. Now they both share the same value and slide atop one another.

I created a separate installation where all that is in the install is just the includes for the js/css and the html for the slider and it still has this behavior.

var slider = document.getElementById('slider');
noUiSlider.create(slider, {
    start: [20, 80],
    connect: true,
    range: {
        'min': 0,
        'max': 100
    }
});

<div id="slider"></div>

This is the code that is producing that behavior (ripple emulator) for both iOS and Android.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
gitlovenotwarcommented, Sep 5, 2017

This issue still persist till today for mobile devices

1reaction
dalegrebeycommented, Oct 16, 2016

When I have the results, I will be sure to post them. It may be a few days, but I will post them.

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS 14 - UISlider not updating app… | Apple Developer Forums
I'm seeing a problem in my app where the slider is usable, but is still showing the disabled state. The relevant statement to...
Read more >
NoUiSlider: A Lightweight JavaScript Range Slider - Morioh
noUiSlider - A lightweight, highly customizable range slider without bloat. ... Fully responsive; Multi-touch support on Android, iOS and Windows devices ...
Read more >
android keyboard free download - SourceForge
This library allows you to make the ESP32 act as a Bluetooth Keyboard and control what it does. Compatible with Android. Compatible with...
Read more >
Untitled
Origin of expression 2 cents, Elf on the shelf baby outfit, What about angels ... Mario kupnik, Rustic chair rail ideas, Medical dictionary...
Read more >
sitemap-questions-42.xml - Stack Overflow
... .com/questions/2056717/how-to-debug-an-app-on-android-with-gdbserver ... .com/questions/4376553/upgraded-to-sdk-2-3-now-no-emulators-have-connectivity ...
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