fix: grid row selection on touch
This commit is contained in:
parent
9b24450337
commit
cc1aa64007
1 changed files with 4 additions and 1 deletions
|
|
@ -195,7 +195,10 @@ export default class Grid {
|
|||
}
|
||||
|
||||
setup_check() {
|
||||
this.wrapper.on("click", ".grid-row-check", (e) => {
|
||||
this.wrapper.on("click touchend", ".grid-row-check", (e) => {
|
||||
e.stopPropagation();
|
||||
if (e.type === "touchend") return;
|
||||
|
||||
const $check = $(e.currentTarget);
|
||||
const checked = $check.prop("checked");
|
||||
const is_select_all = $check.parents(".grid-heading-row:first").length !== 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue