-
Notifications
You must be signed in to change notification settings - Fork 202
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
100% width textarea doesn't work #29
Comments
This isn't just a problem with text area - I'm having the same problem with a text input. It seems to happen whenever a % width is set rather than a pixel value. |
why does this plugin even mess with the html code causing displeasure and headache zzzzzz... |
fork not accepted? |
+1, this is an issue when using TextExt with ActiveAdmin in Rails. ActiveAdmin has presets for inputs and all of them are percentage values. Had to manually fix it for now. |
Am having the same problem, am using "width: 100%" for my textarea and textext forces it to be 12px... |
News about this? @thejae |
a fix is to modify the textext.core.js version 1.3.1 for the minified version look for: e=a.originalWidth+"px" in case you need to have a fixed width just wrap the widget into a div and give it a fixed width |
@natise with your fix(width = '100%'), I found I need to override style for textarea.
|
Testcase
If I set the textarea to 100% width, textext overrides it to 12px width.
The text was updated successfully, but these errors were encountered: