refactor: change height and add condition on prevent default

This commit is contained in:
Ejaaz Khan 2025-01-16 15:58:25 +05:30
parent fc9c75de2c
commit 98be3f46f3
2 changed files with 6 additions and 2 deletions

View file

@ -134,7 +134,11 @@ export default class Grid {
} else {
scroll_bar.scrollLeft(scroll_bar.scrollLeft() + delta * 4);
}
e.preventDefault();
// prevent default behaviour when it is scrolled horizontally
if (e.originalEvent.deltaX != 0) {
e.preventDefault();
}
});
let touchStartX = 0;
let touchMoveX = 0;

View file

@ -332,7 +332,7 @@
}
}
.data-row div[data-fieldname="options"] {
height: 39px;
height: 40px;
}
}