Skip to content

Commit

Permalink
Sets the transition mode to the context for scriptable options (#10898)
Browse files Browse the repository at this point in the history
  • Loading branch information
stockiNail committed Nov 21, 2022
1 parent 22f0dfe commit 36fb08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/core.datasetController.js
Expand Up @@ -799,7 +799,7 @@ export default class DatasetController {
const names = Object.keys(defaults.elements[elementType]);
// context is provided as a function, and is called only if needed,
// so we don't create a context for each element if not needed.
const context = () => this.getContext(index, active);
const context = () => this.getContext(index, active, mode);
const values = config.resolveNamedOptions(scopes, names, context, prefixes);

if (values.$shared) {
Expand Down

0 comments on commit 36fb08c

Please sign in to comment.