From 16925b3f168102af37449cf412d43a2597e924af Mon Sep 17 00:00:00 2001 From: ludvigbolin <57351161+ludvigbolin@users.noreply.github.com> Date: Wed, 6 Dec 2023 21:52:43 +0100 Subject: [PATCH] [MM-54457] Suggestion list UI discrepancy from Add to a Channel modal (#25340) * Adjust inputRect dimensions to make suggestion list above/below Now, the suggestion list will not be placed directly on the input and both can be seen at once * Remove position arguments to make suggestion-list correct When choosing bottom, now the position not overwritten and thus the position will be correct. Earlier adjustments has been reverted after feedback * revert adjustments which was faulty With the new way of configuring the suggestion list, we no longer need to change the top and bottom --------- Co-authored-by: Mattermost Build --- .../src/components/suggestion/modal_suggestion_list.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/webapp/channels/src/components/suggestion/modal_suggestion_list.tsx b/webapp/channels/src/components/suggestion/modal_suggestion_list.tsx index 0a69365c45..d0546ff183 100644 --- a/webapp/channels/src/components/suggestion/modal_suggestion_list.tsx +++ b/webapp/channels/src/components/suggestion/modal_suggestion_list.tsx @@ -200,8 +200,6 @@ export default class ModalSuggestionList extends React.PureComponent