Fix request creation priority

This commit is contained in:
Gregory Schier
2023-03-20 13:56:03 -07:00
parent 54aa594a70
commit ec8bec32ba
3 changed files with 7 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ export function Dropdown({ children, items }: DropdownProps) {
() =>
cloneElement(Children.only(children) as never, {
ref,
'aria-has-popup': 'true',
'aria-haspopup': 'true',
onClick: (e: MouseEvent<HTMLButtonElement>) => {
e.preventDefault();
e.stopPropagation();