Bug #99877
Updated by Josef Glatz almost 2 years ago
h1. Problem The codemirror editor within a backend modal has no proper dimensions. An backend user has two scrollbars. one of modal-body and one of the code-mirror. In such scenario – especially on OS where scrollbars are "hidden" – an user can not consume the whole editor content (e.g. TypoScript, TSconfig, ...). " *Open demonstration video* ":https://youtu.be/Ov13wQKjyMY h1. How to test? *Test within e.g. TypoScript module* # Open TypoScript # Switch to Active TypoScript submodule # Click on any "Show Code" button which shows more code lines then the height of the modal (more than 1000px to get a good view on the problem) h2. Suggested solution Size the codemirror editor to the height of the modal body like shown in the following screenshot !clipboard-202302081046-ketrt.png! !clipboard-202302081047-qjb71.png! I'm not sure if this small CSS adjustment is the correct solution.