Hi @chayabenyehuda, alright, cool, thanks for giving me access. While a permanent fix should be available with the upcoming release, for now you need to manually edit the main script to include the multiline attribute when instatiating the textbox component like you have very correctly done in this project.
I apologise for the inconvenience of having the program revert back that change each time you export HTML. Not sure how well it would fit your particular use case, but you have the option of telling PsychoPy to only export HTML on demand rather than on sync via the online settings tab as shown below,
Dear @sawal, @PSYresearcher, @chayabenyehuda, OK PsychoPy latest now declares JS TextBox instances as multiline by default and no custom edits should be required to make the height setting work as expected. Please let me know if you hit any hurdles post upgrade, x
Yes the size is great but now i have a new problem described here:
I Got a strange textbox-issue in this experiment: the routine “welcome” registers a keyboard response, then continues to the textbox_2 routine, which presents an editable textbox. However, the textbox doesn’t record any text unless I click on the keys for a long time. If I remove the welcome routine, then it does.
Hi @chayabenyehuda, OK that needs fixing on our end, sorry. For now, I believe the following should work when placed in a Before Experiment custom code component tab:
Hi @sawal, @PSYresearcher, @chayabenyehuda, OK the newly released PsychoPy 2021.1.4 should now respect the size attribute on TextBox instances without JS patching, x