diff --git a/services/web/frontend/js/shared/components/mentions-input.tsx b/services/web/frontend/js/shared/components/mentions-input.tsx index 4f190a7411..433c955403 100644 --- a/services/web/frontend/js/shared/components/mentions-input.tsx +++ b/services/web/frontend/js/shared/components/mentions-input.tsx @@ -123,7 +123,8 @@ export const MentionsInput = forwardRef< () => ({ focus: () => { if (viewRef.current) { - viewRef.current.focus() + // Ensure that the input can be scrolled into view + viewRef.current.contentDOM.focus({ preventScroll: false }) return true } return false