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

Auto height #884

Open
alex-webmaster opened this issue Mar 27, 2022 · 0 comments
Open

Auto height #884

alex-webmaster opened this issue Mar 27, 2022 · 0 comments
Labels

Comments

@alex-webmaster
Copy link

What is the correct way to make the height of the editor always match its content so that there is never a scrollbar.
An approach:

sceditor.instance(textarea).keyDown(function(e) {
sceditor.instance(textarea).expandToContent(true)
})

does not work correctly, because there are still scrollbars.

resizeMaxHeight: -1

also dosen't work.

Firefox 98 (98.0)

Thank you!

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