mol_plot_all 1.2.790 → 1.2.792

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/node.mjs CHANGED
@@ -2934,7 +2934,7 @@ var $;
2934
2934
  if (win.parent !== win.self && !win.document.hasFocus())
2935
2935
  return;
2936
2936
  new this.$.$mol_after_frame(() => {
2937
- this.dom_node().scrollIntoView({ block: 'start', inline: 'end' });
2937
+ this.dom_node().scrollIntoView({ block: 'start', inline: 'nearest' });
2938
2938
  this.focused(true);
2939
2939
  });
2940
2940
  }
package/node.test.js CHANGED
@@ -2926,7 +2926,7 @@ var $;
2926
2926
  if (win.parent !== win.self && !win.document.hasFocus())
2927
2927
  return;
2928
2928
  new this.$.$mol_after_frame(() => {
2929
- this.dom_node().scrollIntoView({ block: 'start', inline: 'end' });
2929
+ this.dom_node().scrollIntoView({ block: 'start', inline: 'nearest' });
2930
2930
  this.focused(true);
2931
2931
  });
2932
2932
  }