Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed the overflowing combobox #10494

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Prasanth-S7
Copy link

Fixed: #10482
the current comboBox box css styles makes the content overflow out of the screen which creates a bad user experience .
Solved this by tweaking the marginTop of the comboBox
Previous
image
Modified
image

Copy link
Member

@tyrasd tyrasd left a comment

Choose a reason for hiding this comment

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

Hi, thanks for the effort. However, this fix is just moving the problem to a different situation: Now, the combobox will be cut off when the content would have to be displayed above the scroll:

screenshot showing how the PR would behave in a case where the combobox need to be rendered towards the top of the content

A proper fix would need to dynamically choose to display the dropdown above the input element only if the content would not fit on the remaining space on the page . See tooltip.js for a module which already implements this logic.

@tyrasd tyrasd added the usability An issue with ease-of-use or design label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usability An issue with ease-of-use or design
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The combobox options are truncated when displayed near the edge of the viewport
2 participants