You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is related to 0.9.0, and isn't ridiculously complicated (I know zero about prototype though).
Basically, using the tab within textfields feature in 0.9.0 rc, I have this annoying jumping issue whenever i delete a 'tab', I was mucking around with some javascript and the solution is just to remove the overflow (causing a scrollbar) on the textarea.
I don't use prototype, jQuery kid myself, so I did some Googling, there are a heap of examples on Stack Overflow, but they all seemed to behave a bit weirdly.
I'm definitely interested in exploring the idea of making textareas expand to be large enough to show all of their content. But I'd like to see more work on this before it is incorporated into core. It could be tricky and present problems when using it in the multiple tab page editing interface.
I actually meant the character, as in \t. Right now in prototype we can use the tab feature to push text forward within our content. What I have noticed is that if you ( 'tab' | \t ) or delete a ( 'tab' | \t ) at a point where the top of the content has been scrolled away, you will be thrown back up to the top of the content.
This can't happen if you have a text box the size of the content, plus it's really easy to see how the code is laid out.
As for content tabs, it shouldn't at all be an issue, all of the navigation and modification of content tabs is done above the text area, so they can all be a variety of different sizes. I did a bit of testing editing the inline styles on a page and they worked fine.
One problem could be the location of the save and create buttons being thrown about the page, but we could always do what Google do in mail and duplicate those actions above the content.
I'll put more effort into coming up with a solution in Prototype.
This is related to 0.9.0, and isn't ridiculously complicated (I know zero about prototype though).
Basically, using the tab within textfields feature in 0.9.0 rc, I have this annoying jumping issue whenever i delete a 'tab', I was mucking around with some javascript and the solution is just to remove the overflow (causing a scrollbar) on the textarea.
I don't use prototype, jQuery kid myself, so I did some Googling, there are a heap of examples on Stack Overflow, but they all seemed to behave a bit weirdly.
More Googling and I came accross this robust (but probably a bit over-zealous) alternative.
http://scottmoonen.com/2008/07/08/unobtrusive-javascript-expandable-textareas/
It worked really well, and meant that I could easily edit my nicely tabbed code.
Could this be something to be considered making it into core?
The text was updated successfully, but these errors were encountered: