1
0
Fork 0

fix(docsearch): always use aria-expanded to true

This commit is contained in:
François Chalifour 2020-06-02 10:57:06 +02:00
parent 6ce9fa91be
commit 262ddcb2f3

View file

@ -307,7 +307,9 @@ export function DocSearchModal({
return (
<div
ref={containerRef}
{...getRootProps({})}
{...getRootProps({
'aria-expanded': true,
})}
className={[
'DocSearch-Container',
state.status === 'stalled' && 'DocSearch-Container--Stalled',