-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
TextArea is not resizing #109
Comments
+1, the behavior of using API directly is different from includeUI |
I am having the same issue. Any updates on this or how we can update the API to use the same functionality as the UI? If you can point me to the code that updates the Text Area width I can maybe make a local code change for a temporary workaround. |
Found the problem. It has to do with IText settings when initializing the image editor. Currently, when you don't use UI, Line 178 - imageEditor.jstui.image-editor/src/js/imageEditor.js Line 178 in e22335d
|
I'm improving this. It's almost finished. Please wait a little longer. |
* fix: fixed Text object -> ITextObject * apply codereview Co-authored-by: jwc <[email protected]>
* fix: fixed Text object -> ITextObject * apply codereview Co-authored-by: jwc <[email protected]>
Version
3.3.0
Development Environment
Chrome Firefox, ubuntu
Current Behavior
You can found current behavior even in the examples. (so I use same api methods).
http:https://nhnent.github.io/tui.image-editor/latest/tutorial-example02-useApiDirect.html
steps to reproduce:
You can see that textarea width is not resizing while typing, and tail signs became hidden.
Expected Behavior
Textarea width resizing by the content.
The proper behavior is expected just like in example with includeUI.
https://nhnent.github.io/tui.image-editor/latest/tutorial-example01-includeUi.html (example 1).
The text was updated successfully, but these errors were encountered: