From a3d59b32ecd3256e9e120a7aeab0d41c2b116e4f Mon Sep 17 00:00:00 2001 From: Hampus Kraft Date: Sun, 4 Jan 2026 14:39:12 +0000 Subject: [PATCH] fix(textarea): add missing scrollerRef prop type to TextareaInputFieldProps --- .../src/components/channel/textarea/TextareaInputField.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fluxer_app/src/components/channel/textarea/TextareaInputField.tsx b/fluxer_app/src/components/channel/textarea/TextareaInputField.tsx index 394cb68e..3ac29969 100644 --- a/fluxer_app/src/components/channel/textarea/TextareaInputField.tsx +++ b/fluxer_app/src/components/channel/textarea/TextareaInputField.tsx @@ -21,6 +21,7 @@ import {clsx} from 'clsx'; import React from 'react'; import * as HighlightActionCreators from '~/actions/HighlightActionCreators'; import {type AutocompleteOption, isChannel} from '~/components/channel/Autocomplete'; +import type {ScrollerHandle} from '~/components/uikit/Scroller'; import {useTextareaAutofocus} from '~/hooks/useTextareaAutofocus'; import {TextareaAutosize} from '~/lib/TextareaAutosize'; import styles from './TextareaInput.module.css'; @@ -33,6 +34,7 @@ interface TextareaInputFieldProps { value: string; placeholder: string; textareaRef: React.RefObject; + scrollerRef?: React.RefObject; shouldStickToBottomRef?: React.MutableRefObject; isFocused?: boolean; isAutocompleteAttached: boolean;