alibaba / alibaba/lowcode-engine
Modal框点击mask无法关闭
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
## **Describe the bug (required)** / **详细描述 bug(必填)**
Antd的模态框在低代码引擎里点击遮罩无法关闭
---
## **To Reproduce (required)** / **如何复现 bug?(必填,非常重要)**
1.打开https://alifd.alicdn.com/npm/@alilc/antd-lowcode-materials@1.2.1/build/lowcode/index.html
2.拖动一个modal框到面板,默认点击蒙层关闭是true
3.点击保存,查看效果
4.点击预览页面的遮罩
## **Expected behavior (required)** / **预期行为(必填,非常重要)**
modal框消失
---
## **Screenshots (optional)** / **bug 截图(可选)**

modal框依然存在
---
## **Environments (please complete the following information) (required):** / **请提供如下信息(必填)**
- AliLowCodeEngine version: [e.g. 1.0.0] / 低代码引擎版本
- AliLowCodeEngineExt version: [e.g. 1.0.0] / 低代码引擎扩展包版本
- Browser [e.g. chrome, safari] / 浏览器版本
- materials / plugins / tools / 其他物料 / 插件 / 工具链版本
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in the linked AliLowCodeEngine demo by adding the default Modal and clicking the preview mask. Trace the modal configuration and event handling from the generated preview, then verify that a modal with mask-closing enabled disappears when its mask is clicked.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100