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

Lock drag event in different directions then slider is set for #139

Open
gregoryfikator opened this issue Aug 26, 2019 · 0 comments · May be fixed by #384
Open

Lock drag event in different directions then slider is set for #139

gregoryfikator opened this issue Aug 26, 2019 · 0 comments · May be fixed by #384

Comments

@gregoryfikator
Copy link

Hello,
I am working over an Angular (v7) application targeted for mobile devices and I discovered probably unwanted behavior of your slider.

Assuming you have scrollable page in browser containing your slider if you start to drag horizontal slider by moving to the left or right and then you will try to drag up or down it works ok but when you start to drag up or bottom then left or right and you will combine all directions you can scroll whole page. Any information about resolving this problem will be apprecieated.

Settings for slider, I used:

  temperatureSliderOptions: Options = {
    floor: 18,
    ceil: 25,
    step: 0.5,
    tickStep: 1,
    animate: false,
    showTicks: true,
    showTicksValues: false,
    keyboardSupport: false,
    hideLimitLabels: true,
    onlyBindHandles: true,
    getLegend: (value: number): string => {
      return value.toString();
    },
  };
@dolezaljan dolezaljan linked a pull request Jul 11, 2024 that will close 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

Successfully merging a pull request may close this issue.

1 participant