nextcloud / nextcloud/tasks

input inside addTaskForm loses focus instantly when creating a new subtask

Open
#2,146 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
706
Forks
117
Avg merge
8h 50m
Merged PRs (30d)
18

Description

Steps to reproduce
  1. open three-button menu on existing task
  2. click 'Add subtask'
Expected behaviour

The new input element inside addTaskForm is focused and I can start typing the name (it was before I updated to 0.14.5)

Actual behaviour

For a split-second, there is a cursor inside the input but it disappears very quickly.
No idea what has the focus but I don't see anything when I start typing.

Server configuration

Issue template tool only works up to v20.

Operating system: Linux

Web server: apache

Database: postgres

PHP version: 4.0.24

Nextcloud version: 24.0.6

Tasks version: 0.14.5

Updated from an older Nextcloud or fresh install: update

Signing status: what should be signed? tag? tls cert?

No errors have been found.

List of activated apps:

personal data

Nextcloud configuration:

i will if there's good reason it has anything to do with this issue.

Are you using external storage, if yes which one: no

Are you using encryption: encrypted folders within nextcloud

Are you using an external user-backend, if yes which one: no

Client configuration

Browser: Chromium 106.0.5249.91 / WebEngine 5.15.10-2 / Firefox 105.0-0.1

Operating system: Linux

CalDAV-clients: no

Logs
Web server error log
no log created during reproduction
Nextcloud log (data/nextcloud.log)
no log created during reproduction
Browser log
no log created during reproduction

gotta say, these templates are deterring devs with a dislike for wasted time - at least they are deterring me.
it'll narrow down the crowd of potential new contributers at the higher end.
i'm fairly sure that's not good in the long run.

three lines of well-chosen words would be enough for an issue like this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by opening the three-button menu on an existing task and selecting “Add subtask”; inspect the input inside addTaskForm and the surrounding focus behavior. Test in the reported Chromium or Firefox setup, and consider the issue done when the new subtask input keeps focus so typing the name works immediately.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.