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] 组件嵌入页面时输出框不会换行 #258

Open
Superskyyy opened this issue Jun 27, 2024 · 1 comment
Open

🐛[BUG] 组件嵌入页面时输出框不会换行 #258

Superskyyy opened this issue Jun 27, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@Superskyyy
Copy link

Superskyyy commented Jun 27, 2024

🐛 bug 描述

在各种嵌套使用情况下,机器人的输出不会自动换行,代码见demo。

顺便想请教一下,这种嵌入页面右下角的chatbot 用antd要如何优雅的实现?现在想到的是用drawer + 把尺寸限制,如果用modal就会操作不了页面上的别的东西了。还是说要自己写个新的东西?
image

📷 复现步骤

🏞 期望结果

💻 复现代码

可复现 demo

© 版本信息

  • @ant-design/pro-chat 版本: [e.g. 1.0.0]
  • 浏览器环境
  • 开发环境 [e.g. mac OS]

🚑 其他信息

@ONLY-yours
Copy link
Collaborator

你这个是 2.0 的 ProChat,还没完全准备好,先暂时使用 1.x的吧。

关于侧边栏还可以移动的,可以试试pro-editor的这个:https://pro-editor.antdigital.dev/components/draggable-panel#draggablepanel-demo-controlfloat

@ONLY-yours ONLY-yours added the documentation Improvements or additions to documentation label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants