Defect #44611 » 0001-Fix-resize-handles-showing-on-initial-mobile-Gantt-view.patch
| 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`)
|
- « Previous
- 1
- 2
- 3
- Next »