Open CsakiTheWorking opened 1 year ago
I didn't change the code above because I only have access to the app, not the web part. I implemented a timer in the app which checks if the slider's handles are too close and puts them apart. After a little fiddling I've successfully reproduced the problem. When I try to move a slider, both of them are moving.
This isn't something I've seen before. Do you have any indication what the webview on this device is?
I have an Android app with a webView in it and one of my testers who has some kind of Huawei device has a problem using the slider (see video below). I couldn't reproduce the bug on either of my devices. I tried it on Pixel, Samsung, iPhone, iPhone simulator and desktop, but it works fine for me. What could be the problem and is there anything I can do on my end to fix this? Maybe adding a margin so the handles won't jump together that much, but it's still weird. (The problem appears on a Huawei device, so maybe the reason is the absence of Chrome?)
Here's the code snippet about how I create the slider:
https://github.com/leongersen/noUiSlider/assets/106559675/ae9de393-5c5f-468c-be3f-e6889172c622