Skip to content

Issue label filter dropdown is too long and exceeds viewport #36420

@jadchene

Description

@jadchene

Description

When using the label filter on the Issues list page, if a repository contains a large number of labels, the dropdown list becomes excessively long and exceeds the browser viewport.

This causes usability issues, especially on smaller screens.

Steps to Reproduce

  1. Open a repository with many labels
  2. Go to the Issues list page
  3. Click on Label filter
  4. Observe that the dropdown list extends beyond the visible screen area

Expected Behavior

  • The label filter dropdown should have a maximum height
  • When the number of labels exceeds this height, the dropdown should scroll internally
  • Alternatively, provide search or grouping for labels

Actual Behavior

  • The dropdown height is not constrained
  • The list overflows the viewport
  • Some labels become difficult to access

Environment

  • Gitea version: 1.25.3
  • Browser: Chrome / Edge (latest)
  • OS: Windows 11
  • Page: Issues list → Label filter

Gitea Version

1.25.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Image

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

MySQL/MariaDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions