Problem/Motivation

When a new comment arrives during polling, it is inserted into its parent's group, which may be far above the viewport, with no height capture and no overflow-anchor management on the thread body. Arrivals are never announced either; refresh() calls announce() only on failure. Lower priority since polling is off by default, but this is the feature's entire purpose.

Steps to reproduce

  • Enable polling, keep a thread open, and have a new comment arrive.
  • Observe the arrival is inserted without announcement and can shift the layout.

Proposed resolution

  • Announce new arrivals via the live region.
  • Manage overflow-anchor on the thread body and capture heights to avoid scroll drift on insertion.

Remaining tasks

  • Verify a live arrival is announced and does not shift the reader's scroll position.

User interface changes

New arrivals are announced and do not shift scroll.

API changes

None anticipated.

Data model changes

None anticipated.

AI-Generated: Yes (Used Opus 5 and DeepSeek Flash to review and discover these issues)

Comments

freelock created an issue. See original summary.

  • freelock committed 163e2558 on 1.0.x
    fix: #3623183 Live-refresh arrivals: no announcement and no scroll...
freelock’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.