refactor: popover a11y aria attributes
This commit is contained in:
@@ -77,7 +77,7 @@ const ChangeEditorButton: FunctionComponent<Props> = ({ noteViewController, onCl
|
||||
title="Change note type"
|
||||
togglePopover={toggleMenu}
|
||||
disableClickOutside={isClickOutsideDisabled}
|
||||
anchorElement={buttonRef.current}
|
||||
anchorElement={buttonRef}
|
||||
open={isOpen}
|
||||
className="pt-2 md:pt-0"
|
||||
>
|
||||
|
||||
@@ -23,7 +23,7 @@ const ChangeMultipleButton = ({ application, notesController }: Props) => {
|
||||
title="Change note type"
|
||||
togglePopover={toggleMenu}
|
||||
disableClickOutside={disableClickOutside}
|
||||
anchorElement={changeButtonRef.current}
|
||||
anchorElement={changeButtonRef}
|
||||
open={isChangeMenuOpen}
|
||||
className="pt-2 md:pt-0"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user