# Bug OP-19226 - Page scrolls down to the bottom if user clicks on WP description when top of description is out of screen

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Work packages, Frontend components and Primer design system |
| Target versions | 17.5.1 |
| Observed in versions | 17.3.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.3.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 | Christophe Bliard |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Use Firefox
    
2.  Login as a user with edit work package permissions
    
3.  Go to a WP with a longer description (like https://qa.openproject-edge.com/projects/cecile-main/work\_packages/20809/activity?query\_id=4101)
    
4.  Scroll down so that the top of the description is not on screen
    

### What is the buggy behaviour?

*   Page auto-scrolls to the bottom
    

### What is the expected behaviour?

1.  Description is set to edit mode
    
2.  Page scrolls so as to put the WP description in view
    

###   

### Screenshots and other files

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

### Environment information

**OpenProject version**

Core build

[e66e682376b621ced7dd523044c9d4949a913a87](https://qa.openproject-edge.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fopenproject%2Fcommit%2Fe66e682376b621ced7dd523044c9d4949a913a87)

Product version

[03b76838ac242cad0ddfebdd35945890f1b4bb5c](https://qa.openproject-edge.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fsaas-openproject%2Fcommit%2F03b76838ac242cad0ddfebdd35945890f1b4bb5c)

Core version

OpenProject 17.4.0

**Browser**

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

**Operating System**

*   [x] Windows
*   [ ] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)
