Alex-D / Trumbowyg

A lightweight and amazing WYSIWYG JavaScript editor under 10kB
https://alex-d.github.io/Trumbowyg
MIT License
3.97k stars 606 forks source link

Input area can only be selected first line or where text exists #1414

Open campZero opened 11 months ago

campZero commented 11 months ago

Expected behaviour: clicking anywhere in an input field will set focus.

Current behaviour (2.27.3): only an area with existing text (or pretty much to the top when no text exists) will make it active. This was not the case in 2.26.0 which was the last version to not behave like this.

I am using latest Firefox on Linux (EndeavourOS) and also tested on Windows 10.

It can be reproduced using the demo files from docs: Just open one, delete all text from field and click out of field, attempt to return clicking in the lower part of the edit box.