Skip to content

Commit c294e6a

Browse files
mrvissercbBranden Visser
andauthored
fix(convai-widget-core): auto-scroll on transcript usually stops scrolling (#353)
fix: auto-scroll on transcript usually stops scrolling Co-authored-by: Branden Visser <[email protected]>
1 parent e68c207 commit c294e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/convai-widget-core/src/widget/Transcript.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export function Transcript({ scrollPinned, transcript }: TranscriptProps) {
116116
return (
117117
<div
118118
ref={scrollContainer}
119-
onScroll={e => {
119+
onWheel={e => {
120120
const isAtBottom =
121121
e.currentTarget.scrollTop >=
122122
e.currentTarget.scrollHeight -

0 commit comments

Comments
 (0)