Skip to content
项目

关于

一种可行的拖放替代方案的概念验证。

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

picknplace.js

A proof of concept of a viable drag and drop alternative.

facebook

Why?

I find that the drag and drop experience can quickly become a nightmare, especially on mobile. Trying to tap, hold, drag, and scroll, all at the same time, is awkward, slow, and error-prone. I've long had in mind a simpler 2-step approach: picking an item first, then placing it. So I implemented this basic version to showcase my idea.

How it works

When picking an item, a duplicate of the list is created on top of the original one. The duplicate is interactive and animated, and will update based on the scroll position. At the end, the user can either confirm or cancel the changes.

Is this a library?

Not exactly. This is merely a proof of concept, to convey what I had in mind. You can however look at the source code, for inspiration.

探索相关项目

加载中…