Skip to content

Fix dcc.Patch() rerunning initial callbacks for all matching elements#3682

Open
Aaron-Wrote-This wants to merge 3 commits intoplotly:devfrom
Aaron-Wrote-This:bugfix/patches_reinit_callbacks
Open

Fix dcc.Patch() rerunning initial callbacks for all matching elements#3682
Aaron-Wrote-This wants to merge 3 commits intoplotly:devfrom
Aaron-Wrote-This:bugfix/patches_reinit_callbacks

Conversation

@Aaron-Wrote-This
Copy link
Copy Markdown
Contributor

Fixes where initial callbacks are rerun on all elements when patching in a new element using dcc.Patch()

Issue report here: #3681

Contributor Checklist

  • I have broken down my PR scope into the following TODO tasks
    • Fix callbacks rerunning during dcc.Patch
    • Add test to show it is working
  • I have run the tests locally and they passed. (refer to testing section in contributing)
  • I have added tests, or extended existing tests, to cover any new features or bugs fixed in this PR

optionals

  • I have added entry in the CHANGELOG.md
  • If this PR needs a follow-up in dash docs, community thread, I have mentioned the relevant URLS as follows
    • this GitHub #PR number updates the dash docs
    • here is the show and tell thread in Plotly Dash community

@Aaron-Wrote-This Aaron-Wrote-This force-pushed the bugfix/patches_reinit_callbacks branch from a9136db to ecdc680 Compare March 27, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants