Skip to content

Chat doesn't properly scroll down to the last message #10627

Open

Description

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Start a 1:1 chat
  2. Fill convo so that it starts scrolling
  3. Click refresh and select the chat again

Expected behaviour

Chat should be scrolled to the very last message sent or received.

Actual behaviour

Chat is scrolled to some arbitrary point 2-3 inches above the last message.

Talk app

Talk app version: 17.1.1

Custom Signaling server configured: No

Custom TURN server configured: No

Custom STUN server configured: No

Browser

Microphone available: Yes

Camera available: Yes

Operating system: Arch Linux

Browser name: Firefox and Chrome

Browser version: Firefox 118.0.1 and Chromium 117.0.5938.132

Browser log

setVisualLastReadMessageId token=qo42gp6h id=1397 MessagesList.vue:854
The request has been canceled
Object { stack: <omitted for privacy reasons> message: "canceled", name: "CanceledError", code: "ERR_CANCELED" }
MessagesList.vue:711
InstallTrigger is deprecated and will be removed in the future. constants.js:50:14
Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). 2 content-script.js:40:65
Ignoring handleScroll as the messages history is empty MessagesList.vue:755
Joined signaling.js:235:10
Scrolling to a focused message programmatically MessagesList.vue:1020
Scrolling to a focused message programmatically MessagesList.vue:1020
undefined lockdown-install.js:1:93966

Server configuration

Operating system: Arch Linux

Web server: Apache

Database: Maria

PHP version: 8.2.10

Nextcloud Version: 27.1.0.7

List of activated apps:

  - activity: 2.19.0
  - admin_audit: 1.17.0
  - calendar: 4.5.1
  - circles: 27.0.1
  - cloud_federation_api: 1.10.0
  - comments: 1.17.0
  - contacts: 5.4.2
  - contactsinteraction: 1.8.0
  - dashboard: 7.7.0
  - dav: 1.27.0
  - deck: 1.11.0
  - federatedfilesharing: 1.17.0
  - federation: 1.17.0
  - files: 1.22.0
  - files_pdfviewer: 2.8.0
  - files_reminders: 1.0.0
  - files_rightclick: 1.6.0
  - files_sharing: 1.19.0
  - files_trashbin: 1.17.0
  - files_versions: 1.20.0
  - firstrunwizard: 2.16.0
  - logreader: 2.12.0
  - lookup_server_connector: 1.15.0
  - mail: 3.4.0
  - nextcloud_announcements: 1.16.0
  - notifications: 2.15.0
  - oauth2: 1.15.1
  - password_policy: 1.17.0
  - photos: 2.3.0
  - privacy: 1.11.0
  - provisioning_api: 1.17.0
  - recommendations: 1.6.0
  - related_resources: 1.2.0
  - richdocuments: 8.2.0
  - richdocumentscode: 23.5.402
  - serverinfo: 1.17.0
  - settings: 1.9.0
  - sharebymail: 1.17.0
  - spreed: 17.1.1
  - support: 1.10.0
  - survey_client: 1.15.0
  - suspicious_login: 5.0.0
  - systemtags: 1.17.0
  - text: 3.8.0
  - theming: 2.2.0
  - twofactor_backupcodes: 1.16.0
  - twofactor_totp: 9.0.0
  - updatenotification: 1.17.0
  - user_status: 1.7.0
  - viewer: 2.1.0
  - weather_status: 1.7.0
  - workflowengine: 2.9.0

Nextcloud configuration:

{
    "system": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "<removed for privacy>"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "27.1.1.0",
        "overwrite.cli.url": "<removed for privacy>",
        "overwriteprotocol": "https",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "tls",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "app_install_overwrite": [
            "bruteforcesettings",
            "richdocumentscode"
        ],
        "loglevel": 2,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "default_phone_region": "US",
        "theme": ""
    }
}

Server log (data/nextcloud.log)

Insert your server log here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

  • Status

    📄 To do (~10 entries)

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions