refactor: popover a11y aria attributes
This commit is contained in:
@@ -32,7 +32,7 @@ const LinkedItemsButton = ({ linkingController, onClickPreprocessing }: Props) =
|
||||
<Popover
|
||||
title="Linked items"
|
||||
togglePopover={toggleMenu}
|
||||
anchorElement={buttonRef.current}
|
||||
anchorElement={buttonRef}
|
||||
open={isLinkingPanelOpen}
|
||||
className="pb-2"
|
||||
>
|
||||
|
||||
@@ -101,7 +101,7 @@ export const LinkedItemsSectionItem = ({
|
||||
title="Options"
|
||||
open={isMenuOpen}
|
||||
togglePopover={toggleMenu}
|
||||
anchorElement={menuButtonRef.current}
|
||||
anchorElement={menuButtonRef}
|
||||
side="bottom"
|
||||
align="center"
|
||||
className="py-2"
|
||||
|
||||
Reference in New Issue
Block a user