# Bug COMMS-215 - Activity tab does not scroll to the bottom for work packages with long history

Project: Stream Communicator
Status: closed
URL: https://community.openproject.org/work_packages/COMMS-215

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 15.3.0 |
| Observed in versions | 15.2.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 15.2.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Bruno Pagno |
| 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 as a user with permissions to view a work package

2.  Make sure that the 'Newest at the bottom' sort order is enabled for the Activity tab

3.  Navigate to a work package with \> 30 comments/activities E.g. [This one](https://community.openproject.org/projects/openproject/work_packages/36743/activity)

### What is the buggy behavior?

  - The activity tab loads but scrolling seems to shift to the middle, it does not scroll to the bottom when filter is in default "Newest at the bottom" state

> When the activity tab has \> 30 comments, two requests are performed to improve the perceived speed. It's likely the second request that loads the "other" activities disrupts the scrolling position.

### What is the expected behavior?

1.  The activity tab scrolls to the bottom

### Screenshots and other files

📽  <https://community.openproject.org/api/v3/file_links/2253/open>

**Additional gif:**

<img class="image_resized op-uc-image op-uc-image_inline" style="width:899px;">

<br>
