fix(web): optimize conversation-panel Modal width adjustment logic (#21018)

This commit is contained in:
HyaCinth
2025-06-15 15:22:10 +08:00
committed by GitHub
parent 632df0b8a7
commit 4c480d76f3
+2 -1
View File
@@ -354,7 +354,8 @@ function DetailPanel({ detail, onFeedback }: IDetailPanel) {
}
useEffect(() => {
adjustModalWidth()
const raf = requestAnimationFrame(adjustModalWidth)
return () => cancelAnimationFrame(raf)
}, [])
return (