mol_plot_all 1.2.1106 → 1.2.1108

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
@@ -3002,8 +3002,7 @@ var $;
3002
3002
  const win = this.$.$mol_dom_context;
3003
3003
  if (win.parent !== win.self && !win.document.hasFocus())
3004
3004
  return;
3005
- new this.$.$mol_after_frame(() => {
3006
- this.dom_node().scrollIntoView({ block: 'start', inline: 'nearest' });
3005
+ new this.$.$mol_after_timeout(500, () => {
3007
3006
  this.focused(true);
3008
3007
  });
3009
3008
  }
package/node.test.js CHANGED
@@ -2993,8 +2993,7 @@ var $;
2993
2993
  const win = this.$.$mol_dom_context;
2994
2994
  if (win.parent !== win.self && !win.document.hasFocus())
2995
2995
  return;
2996
- new this.$.$mol_after_frame(() => {
2997
- this.dom_node().scrollIntoView({ block: 'start', inline: 'nearest' });
2996
+ new this.$.$mol_after_timeout(500, () => {
2998
2997
  this.focused(true);
2999
2998
  });
3000
2999
  }