alibaba / alibaba/lowcode-engine
磁吸组件只可以加入第一个组件,再加入组件时效果就会出问题
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
## **Describe the bug (required)** / **详细描述 bug(必填)**
我按照官方的介绍,小试牛刀了一下磁吸模式。目前遇到拖入第一组件后再拖第二个就会卡顿,没有像官方那样出现一个外面进入的占位组件。
A clear and concise description of what the bug is. / 请提供清晰且精确的 bug 描述
这是我的代码仓库,[http://github.com:daifuyang/ssr-materials.git](https://github.com/daifuyang/ssr-materials)
目前已经可以正常的拖拽组件,就是感觉不太完美
---
## **To Reproduce (required)** / **如何复现 bug?(必填,非常重要)**
打开这个网站:http://lowcode.zerocmf.com/ 先拖拽一个RGLContainer,在拖拽按钮即可出现问题。里面的组件也无法拖出来,外面的组件也无法进入。没有像官方那样外面进入容器的动画
Steps to reproduce the behavior: / 详细复现步骤:
http://lowcode.zerocmf.com/
---
中文版示例:
1. 打开 [测试](http://lowcode.zerocmf.com/);
2. 先拖拽一个RGLContainer
3. 在拖拽两个按钮
4. 没有出现磁吸新增的效果,内部可以正常拖拽调整
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the behavior at http://lowcode.zerocmf.com/: drag an RGLContainer, then drag two buttons and observe the missing placeholder animation and blocked movement. Compare this with the official magnetic-mode behavior; done means additional components can enter the container with the expected placeholder effect and remain draggable inside and outside.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100