shridhar-tl / jira-assistant

Repository containing source code of Jira Assistant browser extension. This is also used to track bugs related to the extension.
https://www.jiraassistant.com
235 stars 74 forks source link

"Add worklog" dialog: Field "Ticket no" looses focus on manual ticket selection #319

Open trashcandrummer opened 10 months ago

trashcandrummer commented 10 months ago

Checklist before you being

How do you use Jira Assistant?

Browser extension

Are you using cloud version of Jira or self hosted (data center / server) of Jira.

Self hosted (datacenter)

Version of Jira Assistant

v2.54

What browser are you using?

Chrome

What OS are you using? You need not disclose this if you feel it is irr-relevant for your issue.

None

Bug Description

The focus on the field "Ticket no" (Worklog dialog) is lost when selecting a ticket from the suggestion list. This is not the case if the ticket number is inserted and e.g. auto completed by hitting TAB to move to the next field.

Working case

Ticket number was inserted and TAB was used to trigger "autocomplete"/"autoselect". The focus is now on the next field ("Work description") which is correct. JA_auto_complete

Wrong case

Ticket number was inserted (party or full does not matter) and the wanted ticket was selected by e.g. mouse click from the suggestion list. The focus is lost / set to the complete dialog instead of remaining on the "Ticket no" field to continue with e.g. TAB to jump to the next field. This is wrong and also annoying as you now have to hit TAB many times to get to the "Work description" field again. JA_manual_selection

Would be nice if this focus handling could be improved.

Checklist before you submit