D
D
Defff2013-04-20 12:45:56
JavaScript
Defff, 2013-04-20 12:45:56

Tracking, fixing and restoring the start point of a resize textarea adjustment range?

Actually task:
There is a message preview page. Below the displayed text, is a form with a textarea.
In the process of editing, we can stretch - shrink the textarea.
Suppose we stretched it, remembered the height and width (initially - we also naturally know the original ones)
So: How, when sending and returning this form, to restore the sent textarea sizes, but with the ability to adjust in the range as in the original version, the unstretched version?

In Mozilla, this issue does not seem to require a solution, but in Opera and Chrome, the adjustment (if we restore the dimensions just sent) will only start from the currently set height - width upwards ...

Interested in interesting solutions, (tracking events: onmousedown and onmousemove on the lower right corner of the textarea is a classic (but inelegant, it makes no sense to resize the textarea from the browser, that is, we go back - to browsers without resize)

Perhaps there are ready-made solutions ... in the form of frameworks or plugins...? (There is even an underlying thought: - about the possibility of non-standard css hacks... - some association with min-height; min-width;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
deleted-buddah, 2013-05-04
@deleted-buddah

Maybe it will help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question