Skip to content

Conversation

@jzempel
Copy link
Member

@jzempel jzempel commented Mar 5, 2024

Description

The combobox cursor fix in #625 regressed controlled inputValue behavior – preventing proper change handling and stateful setting of the controlled value. This fix expands on the previous by keeping local downshiftInputValue state in sync with the controlled inputValue.

Detail

The added tests apply coverage to the conditional state setter.

Checklist

  • 🌐 demo is up-to-date (npm start)
  • 💂‍♂️ includes new unit tests
  • ♿ tested for WCAG 2.1 AA compliance
  • 📝 tested in Chrome, Firefox, Safari, and Edge

@jzempel jzempel requested a review from a team as a code owner March 5, 2024 18:51
@coveralls
Copy link

Coverage Status

coverage: 95.963% (+0.01%) from 95.95%
when pulling 6fe10dc on jzempel/fix-inputvalue
into 6543d65 on main.

Copy link
Contributor

@geotrev geotrev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 🎉

@jzempel jzempel merged commit a41b48d into main Mar 5, 2024
@jzempel jzempel deleted the jzempel/fix-inputvalue branch March 5, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants