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

Source code mode: When the text area is resized, the number of visible code view lines does not dynamically adjust #1206

Open
thanabodee-tk opened this issue Dec 17, 2024 · 0 comments
Labels

Comments

@thanabodee-tk
Copy link

thanabodee-tk commented Dec 17, 2024

When the text area is resized, the number of visible code view lines does not dynamically adjust. This results in unused gray space within the resized editor

How to reproduce

Step 1: Disable auto-height, Set a specific height value (e.g., 450px) for the text area instead of using auto-height.

image

Step 2: Switch to the source mode.
Step 3: Resize the text area.

image

Jodit Version: v.4.2.47 (Using playground in xdsoft.net)

Browser: Chrome
OS: Windows/Mac/Linux
Is React App: False
Reproduced on xdsoft.net: True

Expected behavior:

The source code should dynamically adjust to fill the available space when the text area is resized.

image

Actual behavior:

There is unused gray space within the resized text editor. The number of code view lines does not dynamically adjust when the editor's height is increased.

Screenshot 2024-12-17 103646

@xdan xdan added the bug label Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants