jekyll-admin icon indicating copy to clipboard operation
jekyll-admin copied to clipboard

Tab press after metafield name should jump to value

Open mariusa opened this issue 8 years ago • 3 comments

Edit a page Click new metafield Enter name Press Tab

Expected: Tab press should jump to next field, value

Result: Focus jumps to Save button

mariusa avatar Jul 14 '17 09:07 mariusa

Hmm. This is because newly created metafields do not have tabindex attribute.

mertkahyaoglu avatar Jul 14 '17 12:07 mertkahyaoglu

What's weird is that this bug occurs only when the key-field is changed..

Case 1:

  1. Create new metafield
  2. Press Tab

Result: The assoc. .value-field gets focused.
Case2:

  1. Create new metafield
  2. Click anywhere outside .key-field
  3. Click-to-Focus .key-field
  4. Press Tab

Result: The assoc. .value-field gets focused.
Case 3:

  1. Create new metafield
  2. Change label
  3. Press Tab

Result: The assoc. .value-field does not get focused.
Case 4:

  1. Create new metafield
  2. Change label
  3. Lose focus on .key-field by clicking elsewhere.
  4. Click to re-focus .key-field
  5. Press Tab

Result: The assoc. .value-field gets focused.

ashmaroli avatar Jul 15 '17 11:07 ashmaroli

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.

jekyllbot avatar Sep 15 '17 12:09 jekyllbot