Socket
Socket
Sign inDemoInstall

vueuc

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vueuc - npm Package Compare versions

Comparing version 0.4.46 to 0.4.47

11

es/virtual-list/src/VirtualList.js

@@ -290,5 +290,14 @@ /* eslint-disable no-void */

if (mayUseWheel) {
e.preventDefault();
const listEl = listElRef.value;
if (listEl != null) {
if (e.deltaX === 0) {
if (listEl.scrollTop === 0 && e.deltaY <= 0) {
return;
}
if (listEl.scrollTop + listEl.offsetHeight >= listEl.scrollHeight &&
e.deltaY >= 0) {
return;
}
}
e.preventDefault();
listEl.scrollTop += e.deltaY / ensureWheelScale();

@@ -295,0 +304,0 @@ listEl.scrollLeft += e.deltaX / ensureWheelScale();

@@ -295,5 +295,14 @@ "use strict";

if (mayUseWheel) {
e.preventDefault();
const listEl = listElRef.value;
if (listEl != null) {
if (e.deltaX === 0) {
if (listEl.scrollTop === 0 && e.deltaY <= 0) {
return;
}
if (listEl.scrollTop + listEl.offsetHeight >= listEl.scrollHeight &&
e.deltaY >= 0) {
return;
}
}
e.preventDefault();
listEl.scrollTop += e.deltaY / (0, config_1.ensureWheelScale)();

@@ -300,0 +309,0 @@ listEl.scrollLeft += e.deltaX / (0, config_1.ensureWheelScale)();

2

package.json
{
"name": "vueuc",
"version": "0.4.46",
"version": "0.4.47",
"description": "Util Components for Vue",

@@ -5,0 +5,0 @@ "main": "lib/index.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