More link always reloads the page instead of showing full content

Created on 15 March 2025, about 2 months ago

Problem/Motivation

In the Smart Trim module, when the content exceeds the maximum character limit, the "More" link is displayed. However, when clicking on the "More" link, instead of expanding the full content, it reloads the same page.

Steps to reproduce

1)Install Smart Trim module in Drupal 10
2)Configure a field using Smart Trim formatter.
3)Ensure "Strip HTML" is unchecked.
4)Add long content exceeding the max character limit.
5)Click on the "More" link.

Proposed resolution

Investigate why the "More" link reloads the page and ensure it expands the full content correctly.

Expected behavior:

Clicking "More" should display the full content.

Actual behavior:

Clicking "More" reloads the same page instead of displaying the full content.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024