question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error thrown when using tooltips and dynamic data

See original GitHub issue

Hi 👋

I came across an issue when using tooltips and dynamic data - it seemed to me it might be related to how the tooltips are handled in the editor, so I am opening the issue here - feel free to move it is not the right place.

Expected behavior

When having tooltips enabled and using dynamic data - by defining url by a signal value (as described here - Dynamic Data Loading section), no errors should be thrown.

Actual behavior

When enabling tooltips and using dynamic data, editor crashes with the following error

Cannot use 'in' operator to search for 'message' in Dataflow already running. Use runAsync() to chain invocations.

Steps to reproduce

  1. Enable tooltips: Settings -> Tooltips checkbox
  2. Use specification with dynamic data, i.e.
{
  "signals": [
    {
      "name": "testtest",
      "value": "https://jsonplaceholder.typicode.com/posts"
    }
  ],
  "data": [
    {
      "name": "baseData",
      "url": {"signal": "testtest"}
    }
  ]
}
  1. Run the view (if not run automatically)
  2. (An error is raised)
  3. Disable the tooltips, and rerun the view
  4. everything works fine
Minimal reproduction (link to editor)
Versions
Vega: 5.17.0
Vega-Lite: 4.17.0
Vega-Tooltip: 0.24.2
Editor: 0.91.2

Chrome 87.0
Firefox 83.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
domoritzcommented, Dec 21, 2020

Could you try to reproduce the example without the editor? You can start with https://bl.ocks.org/domoritz/cd636b15fa0e187b51b73fc60b4d3014.

0reactions
domoritzcommented, Dec 21, 2020
Screen Shot 2020-12-21 at 16 13 29

Should fix it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tooltipster .tooltipster('open') throwing error. - Stack Overflow
Can't figure out why 'open' is not working, while according to documentation it should? I have setup it on jsfiddle. HTML <button id="broken" ......
Read more >
Popover + Tooltip : js error multiple instances with selector ...
This code alone selects several elements but it doesn't throw an error: new bootstrap.Tooltip(document.body, ...
Read more >
Creating A Dynamic Tooltip With Embedded Charts ... - YouTube
Creating A Dynamic Tooltip With Embedded Charts Using Power BI - Epic Data Viz Tip.
Read more >
Placing Dynamic Maps In Tooltips In Power BI - YouTube
For me, this is the ultimate data visualization technique. With these updated tooltips in Power BI, we can now create something quite ...
Read more >
Dynamic tooltip content not updating in IE - Telerik Forums
I have a tooltip that I am using to preview text on all of a customers items in ... or an error may...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found