craigsapp / website-polish-scores

Front-end for digital transcriptions of the Polish Music Heritage in Open Access project
https://polishscores.org
3 stars 1 forks source link

Improved editability of the title/lyrics/pitch search fields on browse page #213

Open craigsapp opened 1 year ago

craigsapp commented 1 year ago

The text search fields on the browse page are not easy to edit. You cannot click inside of the text search to add/delete text easily. This is because the search forms are generated dynamically as the search fields are updated. When a text field is regenerated, the position of the cursor in the field should be restored. This is particularly true for the back arrow, backspace and forward arrows. Currently the cursor is moved to the end of the text when there is any change happening in the field.

Screenshot 2023-04-09 at 09 38 00

You can edit the internal parts of the string in the text fields by click with the mouse at the location to change, and then you can make one change before the cursor is moved to the end (either adding or deleting one character at a time).