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

The combobox options are truncated when displayed near the edge of the viewport #10482

Open
nathanadams-tomtom opened this issue Sep 30, 2024 · 1 comment · May be fixed by #10494
Open

The combobox options are truncated when displayed near the edge of the viewport #10482

nathanadams-tomtom opened this issue Sep 30, 2024 · 1 comment · May be fixed by #10494
Labels
bug A bug - let's fix this!

Comments

@nathanadams-tomtom
Copy link

URL

https://www.openstreetmap.org/edit#map=19/42.361060/-71.061190

How to reproduce the issue?

Steps to replicate the issue:

  1. Locate a feature with tags or relations containing fields that have options (example: https://www.openstreetmap.org/edit#map=19/42.361060/-71.061190)
  2. Adjust the viewport if necessary so that a field with options is positioned at the bottom of the viewport
  3. Select the field

Screenshot(s) or anything else?

Selecting a combobox near the bottom of the viewport can cause the field's options to be truncated if there is not enough space relative to the options list height. While users can use up and down keys to select from the available options in these cases, clicking truncated options is not possible. This can lead to unnecessary scrolling and/or collapsing of sections to accommodate option list height to make selections with the pointer.

If there is not sufficient space beneath a field to display all options, the options list could be displayed above the field.

The issue is observed in Firefox version 130.0.1 and Chrome version 129.0.6668.60 on Windows 11.

Example of truncated tag options:
OpenStreetMap_ComboboxOptionsTruncated

Which deployed environments do you see the issue in?

Released version at openstreetmap.org/edit

What version numbers does this issue effect?

2.30.2

Which browsers are you seeing this problem on?

Chrome, Firefox

@k-yle k-yle added the bug A bug - let's fix this! label Oct 1, 2024
@Francesfall
Copy link

Hi, I'm a CS student looking to contribute to open-source projects. I'd like to work on this issue, could you please assign it to me?

@Prasanth-S7 Prasanth-S7 linked a pull request Oct 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug - let's fix this!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants