ant-design / ant-design/pro-components
🐛[BUG]BetaSchemaForm嵌套弹窗,子弹窗总是第一次打开渲染空白
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
### 🐛 bug 描述
使用BetaSchemaForm实现了一个嵌套弹窗,打开父弹窗后,再打开子弹窗,子弹窗第一次打开总是渲染空白,第二次打开就正常了
### 📷 示例代码
sandbox代码地址:https://codesandbox.io/p/sandbox/schema-biao-dan-forked-rwy5wt
### © 版本信息
- ProComponents 版本: 2.6.16
### 🚑 其他信息
尝试了2.6.16和最新版本3.0都存在该问题
Contributor guide
Research direction
Reproduce the nested-modal behavior in the linked CodeSandbox using BetaSchemaForm, opening the parent and then the child modal. Start by tracing the BetaSchemaForm modal rendering path and compare the first and second openings. Done means the child modal renders its form contents correctly on the first opening.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100