department-of-veterans-affairs / vets-design-system-documentation

Repository for design.va.gov website
https://design.va.gov
36 stars 55 forks source link

Bug - va-search-input suggestion box doesn't close #2795

Open micahchiang opened 2 weeks ago

micahchiang commented 2 weeks ago

Description

We recently added a fix for va-search-input that resolved an issue sitewide was having, but inadvertently added a regression where the suggestion box stays open.

This is likely because isTouched is never reset to false, and needs to be. Possibly in the handleBlur function.

Screen cap [Private Zenhub Video](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBMWF3QkE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--3d370adca29c0b21f63441074456e78a14791841/Screen%20Recording%202024-05-02%20at%2010.26.16%20AM.mov)

Considerations

Tasks

Acceptance Criteria