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

@longlost/app-carousel

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@longlost/app-carousel - npm Package Compare versions

Comparing version 2.4.1 to 2.4.2

23

app-carousel.js

@@ -691,3 +691,3 @@

this._resizeIndex = undefined;
this.animateToSection(index);
this.moveToSection(index);
}

@@ -839,11 +839,15 @@

// iOS Safari Hack.
// Without this, the carousel items do not render properly,
// wich leads to issues with IntersectionObserver measurements.
window.requestAnimationFrame(() => {
this.scrollContainer.scrollBy({
top: 0,
left: 0,
behavior
// This is especially important for device rotation.
if (behavior !== 'smooth') {
// Without this, the carousel items do not render properly,
// wich leads to issues with IntersectionObserver measurements.
window.requestAnimationFrame(() => {
this.scrollContainer.scrollBy({
top: 0,
left: 0,
behavior
});
});
});
}
}

@@ -945,3 +949,2 @@

// Temporary workaround for Safari.

@@ -948,0 +951,0 @@ // Addresses a bug in Safari that arises from

{
"name": "@longlost/app-carousel",
"version": "2.4.1",
"version": "2.4.2",
"description": "configurable carousel with autoplay, swipe, optional nav and av buttons",

@@ -5,0 +5,0 @@ "main": "app-carousel.js",

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