papermerge icon indicating copy to clipboard operation
papermerge copied to clipboard

when creating a new folder input does not receive focus

Open viktor-c opened this issue 1 year ago • 1 comments

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

viktor-c avatar Aug 16 '24 20:08 viktor-c

Thank you for opening this ticket report

ciur avatar Aug 24 '24 09:08 ciur

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

ciur avatar Dec 27 '24 14:12 ciur