Dynamic Content Collection – Link Applied Incorrectly Across Items (link Bleeding Between Cards) - Question | JoomShaper

Dynamic Content Collection – Link Applied Incorrectly Across Items (link Bleeding Between Cards)

DM

Diego Mello

SP Page Builder 1 week ago

Hello,

I would like to report a potential issue with the Dynamic Content Collection element in SP Page Builder.

Description of the problem

I created a collection of cards using Dynamic Content, where each item contains:

  • A title (with a dynamic link)
  • A description (plain text)
  • Additional structured elements

The expected behavior is:

  • The link should be applied only to the title
  • Each card should behave independently

However, the actual behavior is:

  • The link is being applied to multiple elements inside the card
  • In some cases, the link from one item is affecting the next item in the collection
  • This results in incorrect clickable areas and unexpected navigation

Technical observations

From inspecting the generated HTML, each item contains multiple <a> tags, for example:

  • One wrapping the title
  • Another wrapping the description

This leads to situations where:

  • Multiple anchor tags exist inside the same container
  • The browser appears to "merge" or extend clickable areas
  • Links seem to “bleed” into the next collection item

Additionally:

  • The collection addon itself also includes a global link configuration (even when not actively used)
  • The issue occurs even when links are only assigned at the field level

Expected behavior

  • Each dynamic item should be fully isolated
  • Links should only wrap the specific field they are assigned to (e.g., title only)
  • No link should affect sibling elements or subsequent items

Actual behavior

  • Links are applied beyond their intended scope
  • Clickable areas extend incorrectly
  • Links from one item may affect the next item

Reproduction context

  • SP Page Builder (latest version)
  • Using Dynamic Content Collection
  • Multiple dynamic_content_text elements inside each item
  • Each field has its own dynamic link

Additional note

This appears to be related to how the HTML is rendered for repeated items. It may be caused by improper handling of anchor tags inside the collection loop, resulting in invalid or overlapping DOM structure.


Request

Could you please confirm if this is a known issue?

If not, I would appreciate guidance or a fix to ensure:

  • Proper isolation of links per item
  • Valid HTML structure within dynamic collections

Thank you!

0
5 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 week ago #220931

Hello,

Thanks for reaching out to us. Could you please share temporary administrator access to your Joomla backend? You can provide the credentials securely in the hidden content section. Also, please take a full backup of your site before we make any changes.

Once I have access, I’ll investigate further and see what’s causing the issue. Let me know once you’ve shared the details!

Best regards,

0
DM
Diego Mello
Accepted Answer
1 week ago #220999

Dear Ziaul.

Here they are.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 5 days ago #221130

Hi Diego,

Thank you for your reply.

We have identified the issue and forwarded it to our development team for further review. They will investigate the behavior and work on a proper fix.

We appreciate your patience and the thorough explanation you provided—it really helps us improve the product.

Thanks

0
DM
Diego Mello
Accepted Answer
5 days ago #221192

Thank Ziaul.

This is the only thing preventing me to publish the page I created. I just asked ChatGPT to review te code and point the origin of the error. Since I am not a developer I can't confirm the finding, but if that may be of any help, I am sharing it's report below.

I'd really appreciate if you could provide a fix for this ASAP, as my client is asking me when I'll be able to publish the new page.

Best, Diego

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 4 days ago #221263

Please allow us some time to look into this. I will notify you as soon as I receive any updates from our development team.

Thank you.

0