Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8282057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:14:41+00:00 2026-06-08T10:14:41+00:00

I think this is a bug in Chrome because it seems to work fine

  • 0

I think this is a bug in Chrome because it seems to work fine in Firefox, but I was hoping somebody could recommend a workaround (or tell me where I’m going wrong if this is my fault).

I’m trying to put labels into the group arcs of a chord diagram in a similar fashion to this example:
http://bost.ocks.org/mike/uberdata/ :

enter image description here

I’m using textPath to achieve this just like the example. The difference in my case is that I’m running a transition to open the arcs when they are created and also to resize them when the data changes. When I use a transition on the path referenced by textPath, the result is that the text doesn’t show up immediately on Chrome. It is present in the DOM as expected and when I do something like adjust the browser zoom the text pops into view.

Here’s some sample code that shows the issue:
http://bl.ocks.org/3148920

If I set up a transition.each("end",...) on the path transition and touch an attribute on the textPath it makes the text appear. But this doesn’t help me when I’m resizing the arc, during which time I want the text to float in conjunction with the path. On Firefox this works, but on Chrome the text just stays put.

Any ideas for how to get this to work?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T10:14:42+00:00Added an answer on June 8, 2026 at 10:14 am

    I’ve forked and fixed your example here:

    • http://bl.ocks.org/3151228

    You have triggered two bugs in WebKit browsers:

    • You can’t select textPath elements because of a bug in how WebKit handles case-sensitive element names. See bug 83438. WebKit shows no sign of fixing this bug, unfortunately.

    • Updating a path element by itself does not trigger redraw on dependent elements that reference this path. So, even though we update the path, the referencing textPath element will not be redrawn. To workaround this update bug, we create a custom transition that repeatedly sets the textPath’s xlink:href attribute to “#path”. I’m not sure if there’s already a bug filed for this.

    Note: the text is scrunched up at the beginning of the arc at the beginning of the animation, making it hard to read. Depending on what you are trying to accomplish, you might instead use the arc to clip the text, so that the text is revealed as the arc expands.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I think this could be a very easy question for you. But I have
I think this is mostly because I'm new to PHP OOP, but I have
This doesn't work: $(#elementId).attr(required, true); In both Chrome and Firefox, the DOM produces either
(I think this is a pretty basic question on OOP, but unfortunately I wasn't
I think this is a pretty straightforward problem but... var outerHeight = $('.profile').outerHeight(); $(#total-height).text(outerHeight
I think this question has been asked many a times but I've been searching
I think this is an overly easy question but my brain is failing to
I'm experiencing what seems like an intermittent bug in Chrome. I was wondering if
This bug is similar to: jQuery reports incorrect element height in Firefox iframe He
I think I may have found a bug with Google Chrome (16.0.912.75 m, the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.