We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 734a4d1 commit e2b4eb3Copy full SHA for e2b4eb3
apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/file-viewer.tsx
@@ -702,8 +702,8 @@ function TextEditor({
702
const el = (shouldUseCodeRenderer ? codeScrollRef.current : textareaRef.current) ?? null
703
if (!el) return
704
705
- const onWheel = (e: WheelEvent) => {
706
- if (e.deltaY < 0) textareaStuckRef.current = false
+ const onWheel = (e: Event) => {
+ if ((e as WheelEvent).deltaY < 0) textareaStuckRef.current = false
707
}
708
709
const onScroll = () => {
0 commit comments