Browse Source

fix(UI): consider 2px border at grid end

(cherry picked from commit 6b1c825741)
version-14
Maharshi Patel 2 years ago
committed by Mergify
parent
commit
c85fb2d17b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/frappe/form/grid_row.js

+ 1
- 1
frappe/public/js/frappe/form/grid_row.js View File

@@ -930,7 +930,7 @@ export default class GridRow {
event.preventDefault();

let grid_start = inital_position_x - event.touches[0].clientX;
let grid_end = grid.clientWidth - grid_container.clientWidth;
let grid_end = grid.clientWidth - grid_container.clientWidth + 2;

if (grid_start < 0) {
grid_start = 0;


Loading…
Cancel
Save