Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Doesn't resize with textarea #11

Open
aurbano opened this issue Apr 17, 2015 · 5 comments
Open

Doesn't resize with textarea #11

aurbano opened this issue Apr 17, 2015 · 5 comments
Labels

Comments

@aurbano
Copy link
Owner

aurbano commented Apr 17, 2015

Simple fix, will be out soon. The fake textarea is not tracking resize events on the real textarea.

@aurbano aurbano added the bug label Apr 17, 2015
@jagged3dge
Copy link

Has this been fixed? The Plunkr demo for autogrow using msd-elastic is working for me on Win7 Chrome v43.

@aurbano
Copy link
Owner Author

aurbano commented Jul 15, 2015

@jagged3dge I need to do some more testing before I close this, but I've seen problems with x-axis resizing.
I'll test as soon as possible

@jagged3dge
Copy link

Wow. Thanks for the blazing fast reply :)

I'm glad you havent given up on this yet ^_^ Lookin' forward to the fix ...

Cheers!

Kind Regards,

Giridhar

On Wed, Jul 15, 2015 at 1:56 PM, Alejandro U. Alvarez <
[email protected]> wrote:

@jagged3dge https://github.com/jagged3dge I need to do some more
testing before I close this, but I've seen problems with x-axis resizing.
I'll test as soon as possible


Reply to this email directly or view it on GitHub
#11 (comment).

@JacoBezuidenhout
Copy link

+1 same problem here. Any temp workaround?

@tomershatz
Copy link

I had the same problem so I added the following lines to the smartArea directive at the end of link function:
angular.element($window).bind('resize', function() {
scope.fakeAreaElement.width(textArea.width());
scope.$digest();
});
and I added the $window to the directive dependency injections

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants