plotly / plotly/dash

[BUG] Dev Tools: Callback map error: Not possible to find intersection inside of the rectangle

Open
#3,943 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug P2 size: 3
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

When trying to show the Callbacks on the Dash Dev Tools, the attached example generates an error and the callback map does not show up.

Tested with Dash 4.4.1 and both Firefox and Chrome. Also tried older versions of Dash (3.4.0 and 4.x with the same results). To reproduce, run the attached example.

Image

callback_map.py

Note: Comment out callback toggle_template_modal on lines 239-246 and the callback map will get generated. Removal of some other callbacks like save_proposed_mapped can result on other errors like: can't access property "order", g.node(...) is undefined

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the attached callback_map.py with Dash 4.4.1 and opening the Dash Dev Tools callback map in Firefox or Chrome. Exercise the callbacks mentioned in the report, including toggle_template_modal and save_proposed_mapped, and compare the resulting errors. Done means the callback map renders without the reported intersection or missing-node errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.