Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor should auto-focus in text box when additional field entries are added #1917

Open
jcross2562 opened this issue Apr 9, 2024 · 0 comments
Labels

Comments

@jcross2562
Copy link

Describe the bug
Some fields allow multiple entries to be added, especially in the Admin view, through the use of the plus (+) sign. For the basic single entry (assuming it is already there), when you click on the pencil icon to edit the field, the cursor immediately appears in the field (auto focus) and allows you to type. However, when you click the plus sign to add a new entry and then click the new pencil icon, the cursor does NOT appear and requires that you click in the new field to start typing. This seems to be an unnecessary extra click, especially if there are several items that need to be added.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Admin view and select an open submission.
  2. Click on the pencil icon for the existing field item and see the cursor appear in the field.
  3. Click on the plus sign to add a new field item.
  4. Click on the pencil icon for the new field item.
  5. Verify that the cursor does not appear; you need to click in the text box to display the cursor to start typing.

Expected behavior
When you click on the pencil icon for the new field item, the cursor should automatically appear in the text box so that the user can start typing immediately. (This is what happens with the first field, so it should replicate for all new fields.)

@jcross2562 jcross2562 added the bug label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant