Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: title element lost when changing icon #20223

Open
2 tasks done
JohnRDOrazio opened this issue May 20, 2024 · 1 comment
Open
2 tasks done

Bug: title element lost when changing icon #20223

JohnRDOrazio opened this issue May 20, 2024 · 1 comment
Assignees
Labels
bug needs-triage This bug needs to be confirmed

Comments

@JohnRDOrazio
Copy link

Bug description

When changing the icon either via the class or via the data-icon attribute on an svg, any title elements within the svg are lost. See also https://stackoverflow.com/questions/78459276/changing-fontawesome-icon-loses-the-title-element .

Reproducible test case

https://codepen.io/johnrdorazio/pen/zYQqYaZ

Screenshots

No response

Font Awesome version

v6.5.2

Serving

Font Awesome CDN

Implementation

SVG+JS

Browser and Operating System

  • Chrome 125 on Windows 10

Web bug report checklist

  • I have included a test case because my odds go way up that the team can fix this when I do
  • I have searched for existing issues and to the best of my knowledge this is not a duplicate
@JohnRDOrazio JohnRDOrazio added bug needs-triage This bug needs to be confirmed labels May 20, 2024
@robmadole
Copy link
Member

Thanks @JohnRDOrazio we'll take a look at this when we get some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs-triage This bug needs to be confirmed
Projects
None yet
Development

No branches or pull requests

2 participants