Skip to content

Commit

Permalink
Always handle mouse wheel, even if frozen columns/rows not set
Browse files Browse the repository at this point in the history
  • Loading branch information
jadjare authored Jan 29, 2019
1 parent 8124d20 commit 753efa8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions slick.grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 539,8 @@ if (typeof Slick === "undefined") {
$viewport
.on("scroll", handleScroll);

if (jQuery.fn.mousewheel && ( options.frozenColumn > -1 || hasFrozenRows )) {
$viewport
.on("mousewheel", handleMouseWheel);
if (jQuery.fn.mousewheel) {
$viewport.on("mousewheel", handleMouseWheel);
}

$headerScroller
Expand Down

0 comments on commit 753efa8

Please sign in to comment.