BUG: CodeEditor stretches out of viewport if code line gets too long, making scrollbar and close button inaccessible #3877
Open
Description
Description
When using the Neos.Neos/Inspector/Editors/CodeEditor
, pasting a long line of code will lead to the close button and the scrollbar of the editor view to move out of the viewport, making them inaccessible.
Steps to Reproduce
- Create node types with property using a
Neos.Neos/Inspector/Editors/CodeEditor
editor - Go to the backend, open the code editor
- Paste or write a very long line of code, preferably an HTML tag with an attribute with a very long value (apparently it has to do with tag attributes)
- The close button and scrollbar of the editor will start to move out of the viewport.
Expected behavior
Long code lines are automatically wrapped, to avoid overflow. Alternatively, a scrollbar for the x-axis should be shown.
Actual behavior
See above, the editor stretches over the viewport limit, making the close button and scrollbar inaccessible.
Affected Versions
Neos: 8.3.6
UI: 8.3.11
Metadata
Assignees
Labels
No labels