dynamic-virtual-scroller
Advanced tools
Comparing version 3.0.16 to 3.0.17
{ | ||
"name": "dynamic-virtual-scroller", | ||
"version": "3.0.16", | ||
"version": "3.0.17", | ||
"description": "A virtual scroller for the web that can handle dynamic row and column sizes.", | ||
@@ -5,0 +5,0 @@ "main": "virtual-scroller.js", |
@@ -157,2 +157,8 @@ import {ATTRIBUTES, EVENTS, CLASSES, DATA} from "./constants"; | ||
config.container.addClass(CLASSES.container); | ||
// Prevent native scrolling if we are using css-transforms instead. | ||
// Native scrolling might be caused by the browser to move focused inputs into view | ||
config.container.on('scroll', function () { | ||
config.container.scrollTop(0); | ||
config.container.scrollLeft(0); | ||
}); | ||
} | ||
@@ -305,4 +311,4 @@ config.canvas.addClass(CLASSES.canvas); | ||
/* | ||
For dynamic sizes | ||
*/ | ||
For dynamic sizes | ||
*/ | ||
@@ -309,0 +315,0 @@ if (params.rowIndex !== undefined && params.columnIndex === undefined) { |
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
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
529393
7400