Skip to content

Conversation

@mackcheesman
Copy link
Contributor

This fixes a bug I introduced last week. In trying to fix some other issues, I got rid of the separate piece of code that was rendering the selected options, and instead relied on sorting the existing options to bump the selected ones to the top of the list. This was fine, if the selected values in a dropdown with dynamically fetched options appeared in the first set of results fetched.

I've also shuffled and split the UI tests I wrote. One is being strangely flaky at the moment; the sequence of arrow key presses in the test seems to result in different options being selected each time. I've relaxed that test a bit to just assert that something starting with an 'A' gets selected.

@netlify
Copy link

netlify bot commented Sep 15, 2025

Deploy Preview for graphweaver-storybook ready!

Name Link
🔨 Latest commit 49140f7
🔍 Latest deploy log https://app.netlify.com/projects/graphweaver-storybook/deploys/68c79ffd3f615b00086470e3
😎 Deploy Preview https://deploy-preview-2066--graphweaver-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

cursor[bot]

This comment was marked as outdated.

@sonarqubecloud
Copy link

@thekevinbrown thekevinbrown merged commit 1eefdf5 into main Sep 15, 2025
22 checks passed
@thekevinbrown thekevinbrown deleted the fix/combobox-improvements-and-tests branch September 15, 2025 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants