# Bug OP-12264 - Date picker changes position while we change year

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 13.0.0 |
| Observed in versions |  |
| Sprint | 13.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| 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.  Login to QA Edge
2.  Go to a work package list
3.  Click on Start date column to add the start date of any work package higher up in the list
4.  When the calendar opens, click on the year (arrow downwards) and continue clicking as the years change from 2023, to 2022, 2021, 2020 etc.

### What is the buggy behavior?

*   As we come to 2020, the date picker changes position on the screen and can moves left and right, up and down if we continue changing years

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/53124/content">

### What is the expected behavior?

1.  Date picker should close as the underlying field is being removed

**OpenProject version**

13.0

**Browser**

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