Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hellosign-embedded

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hellosign-embedded - npm Package Compare versions

Comparing version 1.2.8 to 1.2.9

2

package.json
{
"name": "hellosign-embedded",
"version": "1.2.8",
"version": "1.2.9",
"description": "A JavaScript library required for embedding HelloSign features into your webapp. For more information, see our API documentation at https://www.hellosign.com/api/documentation.",

@@ -5,0 +5,0 @@ "main": "src/embedded.js",

@@ -488,9 +488,5 @@ /**

// Adjust the iFrame style to fit the whole screen
styles['wrapper']['position'] = 'fixed';
styles['wrapper']['position'] = 'absolute';
styles['wrapper']['top'] = '0';
styles['wrapper']['left'] = '0';
styles['wrapper']['bottom'] = '0';
styles['wrapper']['right'] = '0';
styles['wrapper']['webkitOverflowScrolling'] = 'touch';
styles['wrapper']['overflow-y'] = 'scroll';
styles['wrapper']['width'] = mobileDims.widthString;

@@ -523,2 +519,9 @@ styles['wrapper']['height'] = mobileDims.heightString;

this.wrapper.setAttribute('id', 'hsEmbeddedWrapper');
// Hack. We need this on mobile before we insert the DOM
// element, otherwise the modal appears above the fold
if (this.isMobile) {
window.scrollTo(0, 0);
}
this.container.appendChild(this.wrapper);

@@ -626,2 +629,10 @@ }

if (this.isMobile && !this.isInPage) {
this.fixIframe = function() {
window.scrollTo(0, 0);
};
this.fixIframe();
window.addEventListener('scroll', this.fixIframe);
}
// Close the iframe if page fails to initialize within 15 seconds

@@ -628,0 +639,0 @@ if (this.healthCheckTimeoutMs) {

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