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

Textarea with height 100% ? #19

Closed
coderguy9210 opened this issue Sep 20, 2013 · 2 comments
Closed

Textarea with height 100% ? #19

coderguy9210 opened this issue Sep 20, 2013 · 2 comments
Labels
DEPRECATED jquery-textcomplete Issues associated to jquery-textcomplete (was DEPRECATED)

Comments

@coderguy9210
Copy link
Contributor

Greets,

I'm trying to get a textarea with a height 100% to work with autocomplete and I'm not having much luck...

Here's a fiddle without autocomplete turned on so you can see what I'm going for with the textarea in terms of height / width.

http://jsfiddle.net/nqZ5n/40/

With textcomplete on, it doesn't work at all:
http://jsfiddle.net/nqZ5n/41/

I've tried a few ways to get the height 100% thing to work and I'm giving in and asking for some more help. :-)

Best,
~~Kenn

@yuku
Copy link
Owner

yuku commented Sep 20, 2013

try this. http://jsfiddle.net/nqZ5n/45/

$('textarea').textcomplete({/* ... */}).parent().css({
    'min-height': '100%',
    height: '100%',
    width: '100%',
    position: 'absolute',
    top: 0,
    left: 0
});

@yuku yuku closed this as completed Sep 20, 2013
@coderguy9210
Copy link
Contributor Author

Perfect. You're awesome. Thanks again very much!

@yuku yuku added the DEPRECATED jquery-textcomplete Issues associated to jquery-textcomplete (was DEPRECATED) label Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEPRECATED jquery-textcomplete Issues associated to jquery-textcomplete (was DEPRECATED)
Projects
None yet
Development

No branches or pull requests

2 participants