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

固定高度的情况下,1.4.1版本依旧存在回答时展示框不断上下跳动 🐛[BUG] #261

Open
liguobao opened this issue Jun 30, 2024 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@liguobao
Copy link

实现的代码大概如此:

        <ProChat
          displayMode={currentRow?.displayMode ?? "chat"}
          style={{ height: "calc(100vh - 200px)" }}
          chats={cachedChats}></ProChat>

回退到1.12.2 无此问题~

是我这边的用法不对吗~

@ONLY-yours
Copy link
Collaborator

@liguobao 1.14.2 ? 我得复现下bug

@ONLY-yours ONLY-yours self-assigned this Jul 1, 2024
@ONLY-yours ONLY-yours added the bug Something isn't working label Jul 1, 2024
@liguobao
Copy link
Author

liguobao commented Jul 1, 2024 via email

@liguobao
Copy link
Author

liguobao commented Jul 1, 2024

同时此版本也存在HTML 代码无法渲染的问题。

@ONLY-yours
Copy link
Collaborator

ONLY-yours commented Jul 1, 2024

同时此版本也存在HTML 代码无法渲染的问题。

开了 html 的 markdown Plugin 是可以的,但是要导入完整的 ,

<html/>

<html>

这样子包裹的可以,直接一个 <a> 这种不行的

@liguobao
Copy link
Author

liguobao commented Jul 1, 2024

同时此版本也存在HTML 代码无法渲染的问题。

开了 html 的 markdown Plugin 是可以的,但是要导入完整的 ,

<html/>

<html>

这样子包裹的可以,直接一个 <a> 这种不行的

GPT回来的内容应该是一个HTML吧。

@XPStone
Copy link

XPStone commented Jul 10, 2024

实现的代码大概如此:

        <ProChat
          displayMode={currentRow?.displayMode ?? "chat"}
          style={{ height: "calc(100vh - 200px)" }}
          chats={cachedChats}></ProChat>

回退到1.12.2 无此问题~

是我这边的用法不对吗~

这个问题解决了吗?

@liguobao
Copy link
Author

liguobao commented Jul 10, 2024 via email

@XPStone
Copy link

XPStone commented Jul 10, 2024

我的解决方案是把那个动态计算干掉 发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: ZhangXin @.> 发送时间: 2024年7月10日 11:59 收件人: ant-design/pro-chat @.> 抄送: 李国宝 @.>, Mention @.> 主题: Re: [ant-design/pro-chat] 固定高度的情况下,1.4.1版本依旧存在回答时展示框不断上下跳动 ��[BUG] (Issue #261) 实现的代码大概如此: <ProChat displayMode={currentRow?.displayMode ?? "chat"} style={{ height: "calc(100vh - 200px)" }} chats={cachedChats}></ProChat> 回退到1.12.2 无此问题~ 是我这边的用法不对吗~ 这个问题解决了吗? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Hello 您具体是怎那么处理的呢,可以给个demo吗,我取消了动态计算后还是没有效果,谢谢

@sumaolin
Copy link

1.15.1 还是会出现抖动的情况,自定义了 inputAreaRender 输入框 比标准的高,会不会影响

@chocWan
Copy link

chocWan commented Jul 21, 2024

我也遇到类似问题,如下修改可以解决了这个问题
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants