Defect #44611 » 0001-Fix-resize-handles-showing-on-initial-mobile-Gantt-view.patch
| app/javascript/controllers/gantt/column_controller.js | ||
|---|---|---|
|
connect() {
|
||
|
this.#$element = this.$(this.element)
|
||
|
this.mobileModeValue = this.#isMobile()
|
||
|
this.#setupResizable()
|
||
|
}
|
||
| ... | ... | |
|
const options = {
|
||
|
handles: "e",
|
||
|
minWidth: this.minWidthValue,
|
||
|
disabled: this.mobileModeValue,
|
||
|
zIndex: 30,
|
||
|
resize: (_event, ui) => {
|
||
|
this.element.style.setProperty("--gantt-column-width", `${ui.size.width}px`)
|
||
- « Previous
- 1
- 2
- 3
- Next »