Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS drag after click is not setting the value #358

Open
alx1417 opened this issue Jun 30, 2023 · 3 comments
Open

IOS drag after click is not setting the value #358

alx1417 opened this issue Jun 30, 2023 · 3 comments

Comments

@alx1417
Copy link

alx1417 commented Jun 30, 2023

Description of the problem
After click on the slide bar, the dot move to this position, if you drag without release from this position the dot will follow you, but after release will return to the initial position.

Envitonment
Only can be reproduced on IOS Native application.

IOS 14 (embeded with cordova) -> FAIL
Andorid native (embeded with cordova) -> OK
Brwoser Chrome -> OK
Browser Safari (on MAC)-> OK
Browser Safari (on IOS Device) -> OK

Steps to reproduce it
Initial state:

  • Slider from 0 to 100.
  • Slider value 25.

Steps:

  • Press on the possition 75 (the dot will move here)
  • Dragg to 50 (the dot will follow you)
  • Release finger.

Expected: The dot and the value will be 50.

Issue: The dot return to 75 position.

Source code:

<!-- component.html -->
<ngx-slider [(value)]="value" [options]="options"></ngx-slider>
// component.ts
value = 25;
options: Options = {
  floor: 0,
  ceil: 100,
};

Video of the problem

ngx-slider-issue.mov
@DASMACHETE
Copy link

Same issue reported on Safari on Iphone 14 Pro Max Ios 16.5.1(c)

slider-bug.mp4

@n-methenitis
Copy link

Is there any news about this issue?

@usamasharif
Copy link

@alx1417 were you able to fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants