[GH-ISSUE #625] when creating a new folder input does not receive focus #491

Closed
opened 2026-02-25 21:32:02 +03:00 by kerem · 2 comments
Owner

Originally created by @viktor-c on GitHub (Aug 16, 2024).
Original GitHub issue: https://github.com/ciur/papermerge/issues/625

Originally assigned to: @ciur on GitHub.

Description
After clicking on Create new folder a nice dialog appears to name the folder. I expect the input box to receive focus, so that I can immediately start typing in the name.

Also after typing the name hitting Enter does not submit the form (which in html code does miss form tag and is only surrounded by divs of the modal)

Info:

  • Papermerge Version 3.2
Originally created by @viktor-c on GitHub (Aug 16, 2024). Original GitHub issue: https://github.com/ciur/papermerge/issues/625 Originally assigned to: @ciur on GitHub. **Description** After clicking on Create new folder a nice dialog appears to name the folder. I expect the input box to receive `focus`, so that I can __immediately start typing__ in the name. Also after typing the name hitting Enter does not submit the form (which in html code does miss `form` tag and is only surrounded by divs of the modal) **Info:** - Papermerge Version 3.2
kerem 2026-02-25 21:32:02 +03:00
Author
Owner

@ciur commented on GitHub (Aug 24, 2024):

Thank you for opening this ticket report

<!-- gh-comment-id:2308249177 --> @ciur commented on GitHub (Aug 24, 2024): Thank you for opening this ticket report
Author
Owner

@ciur commented on GitHub (Dec 27, 2024):

Fix is available in 3.3. The screenrecorder did not capture the mouse pointer, but that is not the important here. Important
part is that when modal opens - the title input component gets automatically the focus.

Peek 2024-12-27 18-30

To double check it, run:

docker run -p 12000:80 \
    -e PAPERMERGE__SECURITY__SECRET_KEY=abc \
    -e PAPERMERGE__AUTH__PASSWORD=pass123 \
    papermerge/papermerge:3.3
<!-- gh-comment-id:2563758436 --> @ciur commented on GitHub (Dec 27, 2024): Fix is available in 3.3. The screenrecorder did not capture the mouse pointer, but that is not the important here. Important part is that when modal opens - the title input component gets automatically the focus. ![Peek 2024-12-27 18-30](https://github.com/user-attachments/assets/1401e856-4c1a-4a88-9531-043bca60199c) To double check it, run: ``` docker run -p 12000:80 \ -e PAPERMERGE__SECURITY__SECRET_KEY=abc \ -e PAPERMERGE__AUTH__PASSWORD=pass123 \ papermerge/papermerge:3.3 ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#491
No description provided.