It's often annoting to force a narrow fixed width on a textarea input. We display the handle to expand the input, but it only allows for vertical expansion and not horizontal.. we should allow for both. Example, when editing course reserve details we have staff and public notes as textarea's and they're rather narrow.
Created attachment 182987 [details] Screenshot of problem
More examples brought to my attention: * the 'public note' and 'staff note' when editing a course in the course reserves module * the 'notes' field of a SQL report in the Reports module * the patron note using the 'add message' in the Patron record
Created attachment 182998 [details] [review] Bug 40081: Textareas should resize horizontally and vertically Bootstrap 5 sets the "resize" property on textareas to "vertical." For our purposes this is a regression in functionality and should be overridden. To test, apply the patch and rebuild OPAC and staff interface CSS. - Log into the OPAC and go to the "Your personal details" page. - Under "Alternate address" -> "Contact note," check that the textarea can be freely resized. - In the staff client, create a new patron and test the same textarea in that form. Sponsored-by: Athens County Public Libraries
Created attachment 183016 [details] [review] Bug 40081: Textareas should resize horizontally and vertically Bootstrap 5 sets the "resize" property on textareas to "vertical." For our purposes this is a regression in functionality and should be overridden. To test, apply the patch and rebuild OPAC and staff interface CSS. - Log into the OPAC and go to the "Your personal details" page. - Under "Alternate address" -> "Contact note," check that the textarea can be freely resized. - In the staff client, create a new patron and test the same textarea in that form. Sponsored-by: Athens County Public Libraries Signed-off-by: David Nind <david@davidnind.com>
I changed this from an enhancement to a normal bug, as it is something that is not working as it should.
Created attachment 184662 [details] [review] Bug 40081: Textareas should resize horizontally and vertically QA tool is happy and everything works as described. Passing QA! Bootstrap 5 sets the "resize" property on textareas to "vertical." For our purposes this is a regression in functionality and should be overridden. To test, apply the patch and rebuild OPAC and staff interface CSS. - Log into the OPAC and go to the "Your personal details" page. - Under "Alternate address" -> "Contact note," check that the textarea can be freely resized. - In the staff client, create a new patron and test the same textarea in that form. Sponsored-by: Athens County Public Libraries Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Nice work everyone! Pushed to main for 25.11
Nice work everyone! Pushed to 25.05.x
Pushed to 24.11.x for 24.11.09