Project

General

Profile

Defect #44611 » 0001-Fix-resize-handles-showing-on-initial-mobile-Gantt-view.patch

Katsuya HIDAKA, 2026-10-14 15:14

View differences:

app/javascript/controllers/gantt/column_controller.js
15 15

  
16 16
  connect() {
17 17
    this.#$element = this.$(this.element)
18
    this.mobileModeValue = this.#isMobile()
18 19
    this.#setupResizable()
19 20
  }
20 21

  
......
41 42
    const options = {
42 43
      handles: "e",
43 44
      minWidth: this.minWidthValue,
45
      disabled: this.mobileModeValue,
44 46
      zIndex: 30,
45 47
      resize: (_event, ui) => {
46 48
        this.element.style.setProperty("--gantt-column-width", `${ui.size.width}px`)
(3-3/3)