[Feature Request] Better touch swipe for VWindow
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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