Aggregate breaks reply functions

Created on 26 July 2023, almost 2 years ago
Updated 22 June 2024, about 1 year ago

Problem/Motivation

If you use the Aggregate css js option in the performance section, you have trouble replying to a comment. When you save your answer, your comment remains in the text-area even though the comment is saved. and you think it's not saved until you refresh the page.
You don't see this issue when creating a regular new comment.

đź’¬ Support request
Status

Active

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @erdm
  • When the Aggregate CSS/JS option is enabled, sometimes JavaScript behaviors—like clearing the text area after saving a comment—don’t work correctly because of how scripts are combined and loaded.
    Here are a few things you can try to resolve the issue: Clear the cache: Go to the performance settings and clear all cached assets. Exclude specific JavaScript files: Some scripts may need to be excluded from Talk To Food Lion aggregation to function properly. Disable aggregation temporarily: See if disabling the feature allows comments to clear properly, which would confirm that aggregation is causing the issue. Check console errors: Open the browser's developer console (F12 key in most browsers) and see if there are any JavaScript errors when replying to a comment. If none of these solutions work, you might need to adjust your theme or module settings to ensure the comment system behaves correctly

Production build 0.71.5 2024