Skip to content

Commit f44a398

Browse files
authored
Merge pull request #339 from 6pac/bugfix/overflow-scrolling
fix(overflow-scrolling): remove old patch now unnecessary, closes #332
2 parents beaa586 + fcab948 commit f44a398

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

slick.grid.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -576,11 +576,6 @@ if (typeof Slick === "undefined") {
576576
.on("mouseenter", ".slick-cell", handleMouseEnter)
577577
.on("mouseleave", ".slick-cell", handleMouseLeave);
578578

579-
// Work around http://crbug.com/312427.
580-
if (navigator.userAgent.toLowerCase().match(/webkit/) &&
581-
navigator.userAgent.toLowerCase().match(/macintosh/)) {
582-
$canvas.on("mousewheel", handleMouseWheel);
583-
}
584579
restoreCssFromHiddenInit();
585580
}
586581
}
@@ -4549,7 +4544,7 @@ if (typeof Slick === "undefined") {
45494544

45504545
function scrollPage(dir) {
45514546
var deltaRows = dir * numVisibleRows;
4552-
/// First fully visible row crosses the line with
4547+
/// First fully visible row crosses the line with
45534548
/// y == bottomOfTopmostFullyVisibleRow
45544549
var bottomOfTopmostFullyVisibleRow = scrollTop + options.rowHeight - 1;
45554550
scrollTo((getRowFromPosition(bottomOfTopmostFullyVisibleRow) + deltaRows) * options.rowHeight);

0 commit comments

Comments
 (0)