From 83b7e51b7f3321031d297db599dea6f22ea6285b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Espino=20Garc=C3=ADa?= Date: Wed, 27 Mar 2024 15:45:16 +0100 Subject: [PATCH] Fix user group not being properly potitioned (#26608) * Fix user group not being properly potitioned * Update comment --- .../components/user_group_popover/user_group_popover.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webapp/channels/src/components/user_group_popover/user_group_popover.tsx b/webapp/channels/src/components/user_group_popover/user_group_popover.tsx index 23e2cd8a63..bd7b27f556 100644 --- a/webapp/channels/src/components/user_group_popover/user_group_popover.tsx +++ b/webapp/channels/src/components/user_group_popover/user_group_popover.tsx @@ -71,6 +71,11 @@ const UserGroupPopover = ({ returnFocus, searchTerm, showUserOverlay, + + // These props are not passed explictly to this component, but + // they are added when this component is passed as a child to Overlay. + // They are not typed in the component because they will cause more confusion. + ...popoverProps }: Props) => { const {formatMessage} = useIntl(); @@ -182,6 +187,7 @@ const UserGroupPopover = ({ return ( {tabCatcher}