fix: hove x scroll shake (#449)

This commit is contained in:
Joel
2023-06-26 13:35:12 +08:00
committed by GitHub
parent cad1532f7c
commit addf150a9e
2 changed files with 8 additions and 7 deletions

View File

@@ -370,8 +370,7 @@ const Debug: FC<IDebug> = ({
{mode === AppType.chat && (
<div className="mt-[34px] h-full flex flex-col">
<div className={cn(doShowSuggestion ? 'pb-[140px]' : (isResponsing ? 'pb-[113px]' : 'pb-[66px]'), 'relative mt-1.5 grow h-[200px] overflow-hidden')}>
<div className="h-full overflow-y-auto" ref={chatListDomRef}>
{/* {JSON.stringify(chatList)} */}
<div className="h-full overflow-y-auto overflow-x-hidden" ref={chatListDomRef}>
<Chat
chatList={chatList}
onSend={onSend}