@salesforcedevs/docs-components 1.3.104-alphaa1 → 1.3.104-alphaa2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/docs-components",
3
- "version": "1.3.104-alphaa1",
3
+ "version": "1.3.104-alphaa2",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -151,7 +151,7 @@ export default class ContentLayout extends LightningElement {
151
151
  );
152
152
  if (!this.hasRendered) {
153
153
  this.hasRendered = true;
154
- this.restoreScroll();
154
+ // this.restoreScroll();
155
155
  }
156
156
  }
157
157
 
@@ -464,11 +464,7 @@ export default class DocXmlContent extends LightningElementWithState<{
464
464
  this.addMetatags();
465
465
 
466
466
  if (!this.pageReference.hash) {
467
- document.querySelector("main")?.scrollIntoView({
468
- behavior: "smooth",
469
- block: "start",
470
- inline: "nearest"
471
- });
467
+ document.body.scrollIntoView();
472
468
  }
473
469
  }
474
470
  this.setState({