Skip to content

Conversation

manodnyab
Copy link
Contributor

Problem

Dropdowns were not closing when a selected option was reselected. Customers had to click multiple times outside the chat to close the dropdowns.

Solution

Setting menulist properties ensures that select dropdowns maintain their native operating system behavior.
This was causing a side effect of custom arrows and native arrows being rendered twice. So the custom arrows on select elements have been hidden. Removing them entirely results in text being truncated in the dropdown appearance.

Tests

  • I have tested this change on VSCode
  • [ x ] I have tested this change on JetBrains
  • I have added/updated the documentation (if applicable)

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@manodnyab manodnyab requested a review from a team as a code owner June 25, 2025 01:37
dogusata
dogusata previously approved these changes Jun 25, 2025
@dogusata
Copy link
Contributor

Please recheck the tests

@manodnyab
Copy link
Contributor Author

Closing this PR and overriding select elements only in JetBrains cause this problem is widely seen in JetBrains and the fix causes regressions in Eclipse: aws/aws-toolkit-jetbrains#5878

@manodnyab manodnyab closed this Jul 3, 2025
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.

2 participants