The Wayback Machine - https://web.archive.org/web/20210502064030/https://github.com/topics/drag-and-drop
Skip to content
#

drag-and-drop

Here are 1,215 public repositories matching this topic...

Sortable
yjukaku
yjukaku commented Jul 15, 2020

Describe the bug

When using the Swap plugin, it's impossible to cancel a swap once the swap threshold has been met for an item. You can't drag the item back to its original place to prevent a swap. This happens with or without the revertOnSpill: true option.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://sortablejs.github.io/Sortable/#swap
  2. Drag "Item 1" to h
shoNagai
shoNagai commented Apr 13, 2021

Describe the bug
When using move to lower the position of an element, adding 1 to the index does not work, and 2 needs to be added.

To Reproduce
I implemented the following code to move the element position up and down under the ROOT, but the onDown function did not move the element down.

  const {
    actions: { move, delete: deleteNode },
    query,
  } = useEditor();

全场景流式布局,可视化拖拽、随意嵌套组合、实时渲染、实时辅助线展示,实时组件间距展示、实时拖拽排序、状态域管理,可视化属性配置、可视化样式配置、多设备适配展示,支持逻辑渲染、模板字符变量、表达式、自定义方法、自定义状态
  • Updated Apr 18, 2021
  • TypeScript
lukasoppermann
lukasoppermann commented Feb 23, 2018

Convert the source file to typescript, which will be compiled in the rollup build step.
While we currently use .ts files, typehinting etc. is not used in the files.

If you want to help:
Just start adding typehints to any file that is still missing them or improve the ones that already have them. Feel free to send a PR for files even if only a part of them is converted.

Improve this page

Add a description, image, and links to the drag-and-drop topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the drag-and-drop topic, visit your repo's landing page and select "manage topics."

Learn more