fixed-data-table-2
Advanced tools
Comparing version 1.2.18 to 1.2.19
@@ -89,3 +89,3 @@ <!-- File generated from "src/plugins/ResizeReorder/ReorderCell.js" --> | ||
type: `func` | ||
defaultValue: `noop` | ||
defaultValue: `_.noop` | ||
@@ -92,0 +92,0 @@ |
@@ -60,3 +60,3 @@ /** | ||
var version = '1.2.18'; | ||
var version = '1.2.19'; | ||
exports.version = version; |
@@ -109,7 +109,3 @@ /** | ||
event) { | ||
if (this._preventDefault) { | ||
event.preventDefault(); | ||
} // Start tracking drag delta for scrolling | ||
// Start tracking drag delta for scrolling | ||
this._lastTouchX = event.touches[0].pageX; | ||
@@ -136,7 +132,3 @@ this._lastTouchY = event.touches[0].pageY; // Reset our velocity and intermediate data used to compute velocity | ||
event) { | ||
if (this._preventDefault) { | ||
event.preventDefault(); | ||
} // Stop tracking velocity | ||
// Stop tracking velocity | ||
clearInterval(this._trackerId); | ||
@@ -143,0 +135,0 @@ this._trackerId = null; // Initialize decelerating autoscroll on drag stop |
{ | ||
"name": "fixed-data-table-2", | ||
"version": "1.2.18", | ||
"version": "1.2.19", | ||
"description": "A React table component designed to allow presenting thousands of rows of data.", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -70,3 +70,4 @@ /** | ||
it('should prevent default if flag is true', function () { | ||
// NOTE (pradeep): this ensures that mouse events like clicks still fire | ||
it('should not prevent default even if the flag is true', function () { | ||
// --- Run Test --- | ||
@@ -83,3 +84,3 @@ var reactTouchHandler = new ReactTouchHandler( | ||
// --- Verify Expectations --- | ||
assert.isTrue(fakeEvent.preventDefault.calledOnce); | ||
assert.isFalse(fakeEvent.preventDefault.called); | ||
}); | ||
@@ -153,3 +154,4 @@ | ||
it('should prevent default if flag is true', function () { | ||
// NOTE (pradeep): this ensures that mouse events like clicks still fire | ||
it('should not prevent default even if flag is true', function () { | ||
// --- Run Test --- | ||
@@ -166,3 +168,3 @@ var reactTouchHandler = new ReactTouchHandler( | ||
// --- Verify Expectations --- | ||
assert.isTrue(fakeEvent.preventDefault.calledOnce); | ||
assert.isFalse(fakeEvent.preventDefault.called); | ||
}); | ||
@@ -169,0 +171,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2203574
139
25968