-
Notifications
You must be signed in to change notification settings - Fork 42
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
拖拽的时候如果速度快,就会发生数据错误 #26
Comments
|
package.json里的 |
@mf-fengsheng 不知道你那里有没有这样的情况,比如开始的时候上面只有一排,当我在上面添加元素,上面换行以后,点完成按钮上面又会变成一排 |
源码 case right: //currentCellIndex > hoverCellIndex
cellIndex = hoverCellIndex - i //for supporting remove cell logic
animationType = leftTranslation
break
case left: //currentCellIndex < hoverCellIndex
cellIndex = hoverCellIndex
animationType = rightTranslation
break 改为 case right: //currentCellIndex < hoverCellIndex
cellIndex = hoverCellIndex - i
animationType = leftTranslation
break
case left: //currentCellIndex > hoverCellIndex
cellIndex = hoverCellIndex + i
animationType = rightTranslation
break bug出现的原因: 拖动过快导致 |
@mf-fengsheng @zgatrying 外层套ScrollView时,进入编辑模式拖动问题比较多,有解决方案吗 |
比如一排有4个按钮(按钮1 按钮2 按钮3 按钮4),第四个拖拽到第一个,如果慢慢来,没有任何问题,如果动作快一点,按钮1就没有了,4个按钮变成了(按钮4 按钮2 按钮3 按钮4)
不知道是哪里的BUG
The text was updated successfully, but these errors were encountered: