meteor-editable-text icon indicating copy to clipboard operation
meteor-editable-text copied to clipboard

`autoResize` undocumented?

Open t3db0t opened this issue 8 years ago • 4 comments

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 avatar Jul 27 '16 18:07 t3db0t

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

t3db0t avatar Jul 27 '16 18:07 t3db0t

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

JackAdams avatar Jul 27 '16 18:07 JackAdams

There's got to be a way!

t3db0t avatar Jul 27 '16 19:07 t3db0t

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

JackAdams avatar Jul 28 '16 01:07 JackAdams