Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

Commit e9ebe07

Browse files
committed
fix: 버튼 click setTimeout 제거
1 parent 42ca3d9 commit e9ebe07

File tree

1 file changed

+1
-3
lines changed
  • packages/tds-widget/src/chat/scroll-buttons-area

1 file changed

+1
-3
lines changed

packages/tds-widget/src/chat/scroll-buttons-area/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ function ScrollButtonsAreaImpl<T = UserType>(
5555

5656
// eslint-disable-next-line react-hooks/exhaustive-deps
5757
const onButtonClick = (behavior: ScrollBehavior = 'smooth') => {
58-
setTimeout(() => {
59-
scrollToBottom({ scrollBehavior: behavior })
60-
}, 100)
58+
scrollToBottom({ scrollBehavior: behavior })
6159
}
6260

6361
useImperativeHandle(ref, () => {

0 commit comments

Comments
 (0)