Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started by: Nao on August 28th, 2013, 11:18 PM
-
This is a downside of the nice user box code... If you quick edit a long post, the post won't resize to adjust to the textarea. This is because the user box area is 'fixed' in height.
Can be solved in at least two ways...
- Temporarily un-fixing the user box when editing a post. Downside: if the user box is position:fixed at that exact moment, it will potentially overflow to the next post.
- Adjusting the textarea height to the current post height (with a set minimum). This seems to make more sense, but if the post is more than one page tall, it's obviously not going to work... So, it's even worse.
I guess I can't expect anyone to know my code well enough to offer a third suggestion, but just in case... Please let me know ;)
-
What about Ajaxify this action and / or let this become an Popup / Layer ?
-
A popup is disruptive. What do you mean by ajaxify..?
A popup within the same page is less disruptive, but it means it's harder to check out other posts while editing.
-
I mean the ability to edit something inline. I think this is a small nice feature that can really add to the user’s experience. Just click a text field and instantly have the ability to edit it.
In this case you don't loose the ability to check out other posts.
-
Hmm, yeah, but you also lose the ability to get the button strip etc...
Of course, I could add that as a floating tooltip, like some Wysiwyg editor I don't remember -- ah yes I do, it's Aloha Editor.
Still, contenteditable stuff can be nightmarish... I remember trying something out in Wedge long ago, and failing completely, mostly because of browser compatibility. It's not that it can't be done... It's that it would take too much of my valuable time, and I'd rather spend it on more important items in my to-do list, such as "Release Wedge, bitch!"
What I'm considering, right now, is to 'simply' retrieve the current window top, and if it's part of the current post being edited, then open the textarea there, so that it expands to whatever space you currently have, without forcing you to scroll back to the beginning of the post.
-
Hmm, yeah, but you also lose the ability to get the button strip etc...
Hmm, that's bad. Need some time to think it over.What I'm considering, right now, is to 'simply' retrieve the current window top, and if it's part of the current post being edited, then open the textarea there, so that it expands to whatever space you currently have, without forcing you to scroll back to the beginning of the post.
Sounds like a good solution.
Perhaps we could not discard this idea completely and move it to "Feature Discussion".
Here is an example realized with jquery:https://code.google.com/p/jquery-in-place-editor/
-
So I think with the latest Rev. this is solved...
-
Yup! :)