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

autoResize undocumented? #76

Open
t3db0t opened this issue Jul 27, 2016 · 4 comments
Open

autoResize undocumented? #76

t3db0t opened this issue Jul 27, 2016 · 4 comments

Comments

@t3db0t
Copy link

t3db0t commented Jul 27, 2016

I've been trying for a few hours now to hack together an auto-resizing editable-text input field, and I stumbled upon the undocumented autoResize option. It seems to work, if slightly laggy; is it unfinished?

@t3db0t
Copy link
Author

t3db0t commented Jul 27, 2016

Ah, I see now the lag issue while typing, and the +20px offset to try to make it less obvious. Hmmmm.

@JackAdams
Copy link
Owner

Yeah, it's undocumented because it's not very well implemented. There are a few other undocumented bits and pieces too.

@t3db0t
Copy link
Author

t3db0t commented Jul 27, 2016

There's got to be a way!

@JackAdams
Copy link
Owner

I'll accept a PR if you get a workable solution going. The relevant lines of code are: https://github.com/JackAdams/meteor-editable-text/blob/master/lib/editable_text.js#L394-L403

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

No branches or pull requests

2 participants