Fix scrolling in textarea when adding context

This commit is contained in:
Saoud Rizwan
2024-09-19 16:21:47 -04:00
parent 826ee28fc1
commit 6d251e37c2
2 changed files with 20 additions and 2 deletions

View File

@@ -117,7 +117,6 @@ const ContextMenu: React.FC<ContextMenuProps> = ({
flexDirection: "column",
maxHeight: "200px",
overflowY: "auto",
overflow: "hidden",
}}>
{/* Can't use virtuoso since it requires fixed height and menu height is dynamic based on # of items */}
{filteredOptions.map((option, index) => (