Socket
Socket
Sign inDemoInstall

@salesforcedevs/docs-components

Package Overview
Dependencies
Maintainers
13
Versions
634
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforcedevs/docs-components - npm Package Compare versions

Comparing version 1.3.262 to 1.3.264

4

package.json
{
"name": "@salesforcedevs/docs-components",
"version": "1.3.262",
"version": "1.3.264",
"description": "Docs Lightning web components for DSC",

@@ -27,3 +27,3 @@ "license": "MIT",

},
"gitHead": "fa38a93ede50fc83e6bf65da359a8db469288e9b"
"gitHead": "75fca6ea2ade879a9be5838ceed9a8ca47a3cc47"
}

@@ -91,6 +91,2 @@ import { LightningElement, api } from "lwc";

this.scrollToTop(container);
}
scrollToTop(container: Element) {
const isTabletOrDesktop = window.matchMedia(

@@ -100,8 +96,4 @@ `(min-width: ${TABLE_SIZE_MATCH})`

// We need to scroll to top from the tablet size as side nav bar and content in side by side from tablet size
if (isTabletOrDesktop) {
// Sync with the browser to account for any reflows that may have happened
requestAnimationFrame(() => {
container?.scrollIntoView(true);
});
window.scrollTo(0, 0);
}

@@ -108,0 +100,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc