Skip to content
Merged
Prev Previous commit
Next Next commit
Switch object clone method to keep undefined values in clone
  • Loading branch information
camdecoster committed Oct 10, 2025
commit 3b3816faf3afda63aabed00afa2f5f0955c9eef0
2 changes: 1 addition & 1 deletion src/plot_api/plot_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -2607,7 +2607,7 @@ function react(gd, data, layout, config) {
// assume that if there's a config at all, we're reacting to it too,
// and completely replace the previous config
if (config) {
const oldConfig = Lib.extendDeep({}, gd._context);
const oldConfig = Lib.extendDeepAll({}, gd._context);
gd._context = undefined;
setPlotContext(gd, config);
configChanged = helpers.hasCollectionChanged(oldConfig, gd._context);
Expand Down