alibaba / alibaba/lowcode-engine

磁贴布局如何拖动子元素或如何让引擎把子元素拖拽交给react-grid-layout事件

Open
#2,030 3 comments 0 reactions 1 assignee Claimed by @liujuping View on GitHub
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 描述

---

## **To Reproduce (required)** / **如何复现 bug?(必填,非常重要)**

Steps to reproduce the behavior: / 详细复现步骤:

---

English version example:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

中文版示例:
1. 打开 [demo](https://l704863851.github.io/lowcode-rgl-demo/);
2. 组件库面板添加组件GirdLayout进页面
3. 组件库面板添加组件Button进GirdLayout容器
4. 拖拽GirdLayout容器内的Button按钮(无法拖拽),Button上层的div可以拖拽(白色框)

## **Expected behavior (required)** / **预期行为(必填,非常重要)**

1. 能够拖动GirdLayout容器内的Button组件
2. Button按钮的焦点和编排如何替换成上层div(见下方代码截图)

---

## **Screenshots (optional)** / **bug 截图(可选)**

![image](https://github.com/alibaba/lowcode-engine/assets/29324159/58b7e1c2-52de-4dbf-ad1e-24abe942db09)

---

## **Environments (please complete the following information) (required):** / **请提供如下信息(必填)**
- 低代码引擎版本 v1.1.7-beta
- 低代码引擎扩展包版本 v1.0.6-beta.25
- 浏览器版本 chrome 113.0.5672.64(正式版本) (64 位)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.