ant-design / ant-design/pro-components
🧐[问题]ModalForm设置className没有作用到dialog上面,添加到了Form表单上
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
使用ModalForm,设置了ClassName,我想将className添加到dialog上面,但是实际情况是添加到了Form表单上,我该如何设置,能够确保正确的添加到dialog上面?
``

但是使用Modal,是可以将className添加到dialog上面的。
``

如果使用ModalForm怎么设置ClassName,让他添加到dialog上面?
Contributor guide
Research direction
Start by comparing the ModalForm and Modal entry points, focusing on where each component forwards className. Reproduce the reported examples and trace the rendered dialog versus form elements. Done means ModalForm can apply the requested className to the dialog without losing the form behavior.
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