Skip to content

Conversation

@samgst-amazon
Copy link
Contributor

@samgst-amazon samgst-amazon commented Sep 26, 2024

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Description

Changed the behavior of the select element in the WebView for SSO login pages-- this fix applies both to the Q SSO and the Toolkit SSO pages.

Previously the dropdown could render the bottom of the list offscreen where users could not select the bottom options with their mouse. This fix allows users to now be able to see and scroll to the bottom of the list.

Checklist

  • My code follows the code style of this project
  • I have added tests to cover my changes
  • A short description of the change has been added to the CHANGELOG if the change is customer-facing in the IDE.
  • I have added metrics for my changes (if required)

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions
Copy link

github-actions bot commented Sep 26, 2024

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@samgst-amazon samgst-amazon marked this pull request as ready for review September 27, 2024 16:36
@samgst-amazon samgst-amazon requested a review from a team as a code owner September 27, 2024 16:36
@change="handleRegionInput"
size="1"
onfocus='this.size=10;'
onblur='this.size=1;'
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need to explicitly set onBlur?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right we don't need to explicity set the Onblur if we set it onChange.

@samgst-amazon samgst-amazon marked this pull request as draft October 2, 2024 19:34
@samgst-amazon
Copy link
Contributor Author

Setting this back to draft, as keyboard navigation reverts the dropdown to its previous behavior.

@samgst-amazon samgst-amazon deleted the samgst/fixRegionSelectorCutoffInQ branch November 29, 2024 20:08
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