Closed ItsJonQ closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/itsjonq/g2/q1e24etvx
✅ Preview: https://g2-git-fix-select-dropdown-initial-aria-expanded.itsjonq.vercel.app
This update fixes the
downshift
useSelect
integration withSelectDropdown
. Previously,aria-expanded
would only be added after an interaction with the dropdown. We need the reference element (button
) to havearia-expanded
from it's initial render.