Skip to content

Activities not acknowledged when transcript is at the bottom #3683

@compulim

Description

@compulim

Screenshots

When the transcript is at the bottom, no activities were acknowledged (still orange).

image

Version

master

Describe the bug

All activities in view should be acknowledged when one of the condition below is fulfilled:

  1. The user sent a message
  2. The user scroll to bottom, from a non-bottom position

Steps to reproduce

  1. Go to http://localhost:5001/autoScroll.acknowledgement
  2. After the test run complete, click the "Add 3 activities with 10 lines each"
  3. Scroll to bottom

Expected behavior

The transcript should turn blue (i.e. acknowledged).

Additional context

It seems introduced during my last mile on optimizing the code. Also lacking of a test for condition 2.

[Bug]

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or an unintended behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions