# Bug COMMS-865 - Activity tab: a comment arriving via polling is not reliably scrolled into view

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Comments and activity |
| Target versions | 17.7.0 |
| Observed in versions |  |
| Sprint | Sprint 6 - Cleanup Versions backend |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

## Summary

In the work package activity tab, when a new comment arrives via polling while you are reading the bottom of an ascending list (&quot;Newest at the bottom&quot;), the view is supposed to follow the new comment into view. It intermittently lands short, leaving the comment just below the fold.

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

##   

##   

## Steps to reproduce

1.  Open a work package&#x27;s activity tab sorted &quot;newest at the bottom&quot; and scroll to the bottom.
    
2.  Throttle the network in that browser (DevTools &gt; Network &gt; Slow 4G). On a local stack attachments otherwise load faster than the race window.
    
3.  From a second session, post a comment with several paragraphs, then an inline image, then one final line of text.
    
4.  Wait for polling to bring it in (up to 10 seconds).
    

### Expected

the view smoothly scrolls so the new comment is fully visible. Actual: the view scrolls part-way and the new comment sits just below the fold.
