Creating link icon with no title, produce only the icon without the link

Created on 24 October 2024, about 1 month ago

Problem/Motivation

Steps to reproduce

Platform: Drupal 10
Edit display with Layout Builder
Step 1: creating facebook link and set it with Icon service
Step 2: updating the facebook link block, to show with no title, only icon
Results: Icon appears but has no link

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.1

Component

User interface

Created by

🇮🇱Israel YuvalBH

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

Comments & Activities

  • Issue created by @YuvalBH
  • 🇬🇧United Kingdom natts London

    Hi,

    What do mean by (creating a) Facebook link?

    And what is your 'Facebook link block'?

  • 🇮🇳India chhavi.sharma

    Hi @natts, I tried installing the 3.1.0-rc4 version of this module. I tried to replicate the issue by following these steps:
    1. I added google service in the link icon service.
    2. Then I added a link field in the article content type.
    3. In the manage display section of "article", I selected "Link with service icon" in the format dropdown of link field.
    4. I selected "none" in the "text alongside the icon" option.
    5. I created a dummy article.
    6. When I tried to click the icon, it didn't redirected me to google.com.

    I also tried it on the tag "3.1.0-rc4", the issue persists there as well but it is functioning fine in 3.1.x branch.
    I have attached the screen recording for reference.

    I started working on it so if you permit me, I can reassign the issue to me and then build a patch for the 3.1.0-rc4 tag.

Production build 0.71.5 2024