OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
fixing focus loss on mobile
Jonas Jabari3c9da7740509
diff --git a/frontend/src/stimulus/controllers/dynamic/work-packages/activities-tab/index.controller.ts b/frontend/src/stimulus/controllers/dynamic/work-packages/activities-tab/index.controller.tsindex 0ff411fe5c1..b433f8c6c75 100644--- a/frontend/src/stimulus/controllers/dynamic/work-packages/activities-tab/index.controller.ts+++ b/frontend/src/stimulus/controllers/dynamic/work-packages/activities-tab/index.controller.ts@@ -171,6 +171,10 @@ export default class IndexController extends Controller {this.addEventListenersToCkEditorInstance();+ this.focusEditor();+ }++ focusEditor() {const ckEditorInstance = this.getCkEditorInstance();if (ckEditorInstance) {setTimeout(() => ckEditorInstance.editing.view.focus(), 10);@@ -239,6 +243,7 @@ export default class IndexController extends Controller {if (this.journalsContainerTarget) {this.clearEditor();+ this.focusEditor();if (this.journalsContainerTarget) {this.journalsContainerTarget.style.marginBottom = '';this.journalsContainerTarget.classList.add('with-input-compensation');