Merge pull request #13127 from overleaf/td-history-fix-menu-position

History migration: Fix regression with positioning of the history change list item menu

GitOrigin-RevId: feb02101f3ae09102a4986ceb3fe8261b884ab33
This commit is contained in:
Tim Down 2023-05-22 11:11:32 +01:00 committed by Copybot
parent fd8557ef39
commit 19dc830bc6

View file

@ -14,7 +14,12 @@ function HistoryDropdown({
setIsOpened, setIsOpened,
}: HistoryDropdownProps) { }: HistoryDropdownProps) {
return ( return (
<ActionsDropdown id={id} isOpened={isOpened} setIsOpened={setIsOpened}> <ActionsDropdown
id={id}
isOpened={isOpened}
setIsOpened={setIsOpened}
parentSelector="[data-history-version-list-container]"
>
{children} {children}
</ActionsDropdown> </ActionsDropdown>
) )