sfu-dhil / wphp

Women's Print History Project database front end.
https://womensprinthistoryproject.com/
GNU General Public License v2.0
1 stars 8 forks source link

Having to click twice to type into a typeahead (auto-complete) field #243

Closed kkatemoffatt closed 3 years ago

kkatemoffatt commented 3 years ago

Describe the bug To type into certain fields (ie. firms, contributors) you have to click the field, then also click the typeahead field that appears in order to type. This extra 'click' feels unnecessary/like a bug.

To Reproduce Steps to reproduce the behavior:

  1. Go to "Database" in the top menu. Select "Search titles."
  2. Click on ID 4381.
  3. Click "Edit title."
  4. Click the plus sign by "Personal Contributions" to add a new contributor.
  5. Click the person field. The error is you cannot start typing in the typeahead field that appears after clicking this field; you have to also click the typeahead field before you can type.

Expected behavior When you click on the person field once, you should be able to automatically start typing in the typeahead field.

Screenshots N/A

Additional context N/A

ubermichael commented 3 years ago

That is a very strange UI. I think I have a fix for it, but it's a bit hacky. I'll update the site later today with the correction.