Describe the Bug
Raising a bug ticket after a slack discussion with John Ryan. Link to slack discussion for more context: https://cmsgov.slack.com/archives/CHH0381RD/p1766080205361559
See steps to reproduce. John suggested that this might have something to do with the event not bubbling correctly up to the form.
To reproduce
- Visit https://openpaymentsdata.cms.gov/
- In the search field on the home page, type 'smith'
- do NOT use arrow keys or mouse to select any dropdown entries that appear
- Press enter - the dropdown closes but the form does not submit
- Note that you must press enter again to get the form to submit
- Selecting an entry from the dropdown and pressing enter once works as expected and you are directed to that entry's page
Expected behavior
First enter press should bubble up and allow for form submit when no entry is selected
Severity/Impact
Low: Nice to have/UX improvement suggestion
Desktop Operating System
Mac
Desktop Browser Name
Chrome
Desktop Browser Version
No response
Device
No response
Mobile Operating System
No response
Mobile Browser Name
No response
Mobile Browser Version
No response
Additional context
No response
Codebase/Repository URL
https://github.cms.gov/open-data/payments/blob/develop/src/frontend/src/components/EntitySearchForms/Hero/TruncatedSearch.tsx#L143
Design System Version
12.0.0
Existing branch or Pull request on Github
No response
Team Name
WeCMS Open Data / Open Payments
Describe the Bug
Raising a bug ticket after a slack discussion with John Ryan. Link to slack discussion for more context: https://cmsgov.slack.com/archives/CHH0381RD/p1766080205361559
See steps to reproduce. John suggested that this might have something to do with the event not bubbling correctly up to the form.
To reproduce
Expected behavior
First enter press should bubble up and allow for form submit when no entry is selected
Severity/Impact
Low: Nice to have/UX improvement suggestion
Desktop Operating System
Mac
Desktop Browser Name
Chrome
Desktop Browser Version
No response
Device
No response
Mobile Operating System
No response
Mobile Browser Name
No response
Mobile Browser Version
No response
Additional context
No response
Codebase/Repository URL
https://github.cms.gov/open-data/payments/blob/develop/src/frontend/src/components/EntitySearchForms/Hero/TruncatedSearch.tsx#L143
Design System Version
12.0.0
Existing branch or Pull request on Github
No response
Team Name
WeCMS Open Data / Open Payments