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

Scrolling locked on mobile devices #413

Closed
marcreichel opened this issue Nov 2, 2019 · 3 comments
Closed

Scrolling locked on mobile devices #413

marcreichel opened this issue Nov 2, 2019 · 3 comments
Labels

Comments

@marcreichel
Copy link

Describe the bug

The Slider seems to disable/break scrolling on mobile/touch devices. On desktop computers/non-touch devices scrolling works just fine.

Environment

  • OS & Version: iOS 13.2 (But also reproducible using the Chrome Device Toolbar)
  • Vue version: v2.5.17
  • Component Version: v3.0.41
@marcreichel marcreichel added the bug label Nov 2, 2019
@NightCatSama
Copy link
Owner

You can try adding a style (touch-action: auto) to the component.

<vue-slider v-model="value" :style="{ touchAction: 'auto' }" />

@marcreichel
Copy link
Author

This worked, thank you. But shouldn’t this be the default behavior?

@NightCatSama
Copy link
Owner

It has been fixed in version 3.0.42.

Thanks.

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

No branches or pull requests

2 participants