Skip to content

Commit 3b3816f

Browse files
committed
Switch object clone method to keep undefined values in clone
1 parent 364466a commit 3b3816f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plot_api/plot_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2607,7 +2607,7 @@ function react(gd, data, layout, config) {
26072607
// assume that if there's a config at all, we're reacting to it too,
26082608
// and completely replace the previous config
26092609
if (config) {
2610-
const oldConfig = Lib.extendDeep({}, gd._context);
2610+
const oldConfig = Lib.extendDeepAll({}, gd._context);
26112611
gd._context = undefined;
26122612
setPlotContext(gd, config);
26132613
configChanged = helpers.hasCollectionChanged(oldConfig, gd._context);

0 commit comments

Comments
 (0)