Task attempt 3aaf763a-c4ff-4a99-8b64-6feb037cd50a - Final changes (#42)
This commit is contained in:
committed by
GitHub
parent
6a8d7d8a19
commit
aca769983e
@@ -230,8 +230,7 @@ export function FileSearchTextarea({
|
||||
textareaRect.top +
|
||||
paddingTop +
|
||||
currentLine * lineHeight -
|
||||
maxDropdownHeight -
|
||||
8;
|
||||
maxDropdownHeight;
|
||||
maxHeight = maxDropdownHeight;
|
||||
} else if (
|
||||
wouldBeClippedBelow &&
|
||||
@@ -242,8 +241,7 @@ export function FileSearchTextarea({
|
||||
textareaRect.top +
|
||||
paddingTop +
|
||||
currentLine * lineHeight -
|
||||
availableSpaceAbove -
|
||||
8;
|
||||
availableSpaceAbove;
|
||||
maxHeight = Math.max(availableSpaceAbove, minDropdownHeight);
|
||||
} else {
|
||||
// Position below the cursor line
|
||||
|
||||
Reference in New Issue
Block a user