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

[Feature Request] Better touch swipe for VWindow #8612

Open
antfu opened this issue Aug 18, 2019 · 0 comments
Open

[Feature Request] Better touch swipe for VWindow #8612

antfu opened this issue Aug 18, 2019 · 0 comments
Labels
C: VWindow VWindow T: feature A new feature
Milestone

Comments

@antfu
Copy link
Contributor

antfu commented Aug 18, 2019

Problem to solve

On mobile device, VWindow allows user swiping to change pages. But currently the VWindow will change pages on touchend event instead of follow the finger like other native apps do. (Which is kinda making users feel "lag"). It would be great if VWindow solves that.

Proposed solution

I have found some tutorials shows up how to implement this feature:
https://css-tricks.com/the-javascript-behind-touch-friendly-sliders/
https://css-tricks.com/can-get-pretty-far-making-slider-just-html-css/

Since the other components like v-tabs, v-carousel relies on v-window. I think this can benefit them too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VWindow VWindow T: feature A new feature
Projects
None yet
Development

No branches or pull requests

2 participants