We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b7a83a commit 32f5eabCopy full SHA for 32f5eab
src/client/hooks/useChatScroll.ts
@@ -12,7 +12,6 @@ export const useChatScroll = () => {
12
13
const autoScroll = () => {
14
if (isUserDisabled || transitionPending) {
15
- console.log('skipped', isUserDisabled, transitionPending)
16
return
17
}
18
@@ -71,7 +70,7 @@ export const useChatScroll = () => {
71
70
72
const handleDetachScrollOnKeydown = (ev: KeyboardEvent) => {
73
// Check that upwards scrolling key is pressed
74
- if (ev.key === 'ArrowUp' || ev.key === 'PageUp') {
+ if (ev.key === 'ArrowUp' || ev.key === 'PageUp' || ev.key === 'Home') {
75
detachAutoScroll()
76
77
0 commit comments