# Bug OP-11076 - Main project selector does not highlight current project by default

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-11076

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.4.0 |
| Observed in versions | 12.2.0 |
| Sprint | 12.4.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 12.2.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Go to any project.
2.  Click on the Project name with the down arrow in the header bar to view all projects in the instance.

### What is the buggy behavior?

*   The current project is not necessarily visible and not selected by default in the list.

### What is the expected behavior?

*   The current project is visible and selected on the list when accessing the project selector from within a project. 
    *   Since the current project might not be at the top of the list, the list is auto-scrolled such that this project is visible.

### Screenshot

The current project &quot;test scheduling&quot; not immediately visible and the first project in the list is selected:

### <img class="op-uc-image op-uc-image_inline" style="width:629px;" src="/api/v3/attachments/38251/content">

### Environment information

**OpenProject installation type**

*   [x] Hosted cloud edition

**OpenProject version**

12.2

**Browser**

*   [ ] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)

**Language**

EN/FR
