vuetifyjs / vuetifyjs/vuetify

[Feature Request] Better touch swipe for VWindow

Open
#8,612 0 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C: VWindow T: feature
Dominant language
TypeScript
Stars
41k
Forks
7.1k
Avg merge
1d 21h
Merged PRs (30d)
11

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at VWindow's touch handling and review the linked CSS-Tricks slider tutorials for the intended gesture behavior. Check how v-tabs and v-carousel rely on VWindow; done means page movement follows the finger during a swipe instead of changing only on touchend, without disrupting those components.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.