You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's probably something stupid I'm overlooking, but I'm missing how to make the editor resize automatically when new text is entered or deleted, avoiding scrollbars. For now, I did a workaround by adding a listener (for ValueChangeEvent) and setting the height by hand, but it's ugly as hell -- it gets a very noticeable hiccup every time I add a new line.
I've tried the usual setHeightUndefined, setHeight(null), toyed a bit with the javascript. I just can't figure out what's needed. It even looks that this may be the usual behavior on javascript-only, since the AceEditor demos seem to do autoresize without any additional settings.
Any hint??
Marcond
The text was updated successfully, but these errors were encountered:
Hello
It's probably something stupid I'm overlooking, but I'm missing how to make the editor resize automatically when new text is entered or deleted, avoiding scrollbars. For now, I did a workaround by adding a listener (for ValueChangeEvent) and setting the height by hand, but it's ugly as hell -- it gets a very noticeable hiccup every time I add a new line.
I've tried the usual setHeightUndefined, setHeight(null), toyed a bit with the javascript. I just can't figure out what's needed. It even looks that this may be the usual behavior on javascript-only, since the AceEditor demos seem to do autoresize without any additional settings.
Any hint??
Marcond
The text was updated successfully, but these errors were encountered: