Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛[BUG][问题]更新next.js 集成 BetaSchemaForm layoutType="ModalForm" trigger modal 打开后无法展示表单内容无法展示 #8753

Open
xieqingfu opened this issue Oct 1, 2024 · 1 comment

Comments

@xieqingfu
Copy link

xieqingfu commented Oct 1, 2024

🐛[BUG][问题]next.js 集成 BetaSchemaForm layoutType="ModalForm" trigger modal 打开后无法展示表单内容无法展示

🐛 bug 描述

🐛[BUG][问题]next.js app router 集成 pro-components BetaSchemaForm layoutType="ModalForm" trigger,modal 打开后无法展示表单内容无法展示
integrating pro-components BetaSchemaForm with layoutType='ModalForm' in Next.js app router, the modal opens but the form content cannot be displayed.

📷 复现步骤 Reproduction steps

进入
点击 打开BetaSchemaForm 展示不出 form [BUG]
点击 打开普通Modal 展示正常
点击 打开BetaSchemaForm 展示正常
浏览器 全局刷新
点击 打开BetaSchemaForm 展示不出 form [BUG]
Clicking to open BetaSchemaForm does not display the form.
Clicking to open a regular Modal displays normally.
Clicking to open BetaSchemaForm displays normally.
After a global refresh in the browser,
clicking to open BetaSchemaForm does not display the form.

codesandbox: https://codesandbox.io/p/github/xieqingfu/next-antd-pro-component/main?import=true
github: https://github.com/xieqingfu/next-antd-pro-component

🏞 期望结果 Expected result

所有情况 正确展示 modal 中的 form 表单
Correctly display the form in the modal in all cases.

© 版本信息 version info

  • next.js 版本 version [14.2.5]

  • antd [5.18.3]

  • ProComponents 版本: [2.7.19]

  • 浏览器环境 browser envirement。 chorme

🚑 其他信息 other info

Snipaste_2024-10-02_00-10-39

@yaoguoba
Copy link

同样问题
vite: 5.4.9
antd: 5.21.4
ProComponent: 2.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants