diff --git a/.changeset/calm-jobs-relax.md b/.changeset/calm-jobs-relax.md new file mode 100644 index 0000000000000..9ef7bf318c68c --- /dev/null +++ b/.changeset/calm-jobs-relax.md @@ -0,0 +1,5 @@ +--- +'@rocket.chat/meteor': patch +--- + +Fixes an issue where the composer popup doesn't scroll the results properly diff --git a/apps/meteor/client/views/room/composer/ComposerBoxPopup.tsx b/apps/meteor/client/views/room/composer/ComposerBoxPopup.tsx index 549276605c196..d9afcade68bbd 100644 --- a/apps/meteor/client/views/room/composer/ComposerBoxPopup.tsx +++ b/apps/meteor/client/views/room/composer/ComposerBoxPopup.tsx @@ -5,6 +5,8 @@ import type { ReactElement } from 'react'; import { useEffect, memo, useMemo, useRef, useId } from 'react'; import { useTranslation } from 'react-i18next'; +import { CustomScrollbars } from '../../../components/CustomScrollbars'; + export type ComposerBoxPopupProps< T extends { _id: string; @@ -91,26 +93,28 @@ function ComposerBoxPopup< {title} )} - - {!isLoading && itemsFlat.length === 0 && } - {isLoading && } - {itemsFlat.map((item, index) => { - return ( - - ); - })} - + + + {!isLoading && itemsFlat.length === 0 && } + {isLoading && } + {itemsFlat.map((item, index) => { + return ( + + ); + })} + + );