Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: CodeEditor stretches out of viewport if code line gets too long, making scrollbar and close button inaccessible #3877

Open
gradinarufelix opened this issue Oct 23, 2024 · 0 comments

Comments

@gradinarufelix
Copy link

gradinarufelix commented Oct 23, 2024

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

  1. Create node types with property using a Neos.Neos/Inspector/Editors/CodeEditor editor
  2. Go to the backend, open the code editor
  3. 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)
  4. 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

ezgif-2-77e97b575e

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant