plotly / plotly/dash

Multipage App + Background Callback Changes the Page

Open
#2,650 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Issue steps:

  • Trigger a background callback on Page X
  • Change page to Y
  • The background callback on Page X finishes and changes the browser to Page X

Background callback finishing shouldn't change page unless a dcc.Location is in the output.

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

No file or test is named. Start by reproducing the issue with a minimal multipage Dash app, a background callback on Page X, and navigation to Page Y; trace the background callback completion and dcc.Location handling. Done means completing the callback leaves the browser on Page Y unless dcc.Location is explicitly in the callback output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.