Author |
Message |
mordbuster
Hangin' Around
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Feb 08, 2010
Posts: 27
|
Posted:
Tue Feb 09, 2010 9:18 am |
|
Here's another one I've never seen before. When I try to create, copy/paste, or edit a post with a message body that is larger than the text box, the scroll bar keeps grounding itself back to the top. It shows the text that I'm typing but will not stay in any position except the top. If I try to select a character outside of the top section, then it drives itself home and selects all of the text for the post. This happens only when I'm typing. I can grab the scroll bar and move it down and it will stay... until I try to type. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/48fb116845dfecf66294c.gif)
Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Tue Feb 09, 2010 9:52 am |
|
this only happens in IE, and is a known bug for almost a year now (no patch yet, grrrr)
Quote: | When a textarea is specified with a percentage width in IE8 Standards mode, and contains more text than is visible without scrolling, the scroll position may move when editing. This occurs when you scroll down and edit a line, the line you are editing will then be scrolled down further, usually to the bottom of the visible area. If the width is specified in pixels the issue does not occur, it also does not occur in compability mode. |
related:
http://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=432377
http://www.ravenphpscripts.com/postt18405.html
Firefox FTW ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
mordbuster
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 09, 2010 10:20 am |
|
Odd... This didn't happen with the basic PHP NUke 8.0.
So, just use compatibility mode and the text box scroll bar should behave normally?
EDIT: I tried the compatibility mode and it still didn't work. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jakec
Site Admin
![](modules/Forums/images/avatars/502a2d1345d88a86ddb4a.png)
Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Tue Feb 09, 2010 11:32 am |
|
Are you talking about it happening here, or on one of your sites? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 09, 2010 1:22 pm |
|
Well I never actually tested this extensively, or the supposed fix... but it appears to happen on textarea's that are defined by px width too...
found that you have to set the height in px width as well.
this change seemed to work for me, for instance:
themes/CT_RN/forums/posting_body.tpl
line number 372
find
<textarea name="message" rows="15" cols="35" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
change to
<textarea name="message" rows="15" cols="30" style="width:450px;height:300px;" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
* notice I also decreased the columns since I was getting horizontal scrollbars in Firefox
If you could try the fix and let me know it would be appreciated ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
mordbuster
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 09, 2010 2:02 pm |
|
jakec wrote: | Are you talking about it happening here, or on one of your sites? |
I was posting about this happening on my own site. It does it here, too. hmm...
I am using the same theme as this site at the moment. I could try to edit the theme on my website, and see if it changes anything. Worst thing that'll happen is nothing changes. If I break it, I guess I can always restore the file. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 09, 2010 2:37 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
mordbuster
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 09, 2010 3:05 pm |
|
Sweet! thank you. I have not modified the theme at all, except to put my own banner on the top. I'm trying to get AutoTheme running so I can save myself a bunch of time in building a custom theme. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
mordbuster
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 09, 2010 3:13 pm |
|
FIXED! You are the man! Thank you so much! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Fri Feb 12, 2010 7:25 am |
|
And thanks to spasticdonkey for getting these fixes into the upcoming 2.40.01 patch release!! Soon, very soon... |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|