Closed
Bug 426698
Opened 16 years ago
Closed 13 years ago
Hitting 'enter' in designMode causes the outer page to scroll
Categories
(Tech Evangelism Graveyard :: English US, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: subs, Unassigned)
References
()
Details
(Keywords: regression)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5 Visit the example URL, resize the vertical height of the window until you get a scrollbar, then scroll the page down to the bottom. Type something into the rich text editor and the hit 'enter'. The entire page will scroll back up. Reproducible: Always
Comment 1•16 years ago
|
||
Regression window is http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=1199708400&maxdate=1199713799 Seems caused by Bug 332246.
Blocks: 332246
Status: UNCONFIRMED → NEW
Component: General → Editor
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
QA Contact: general → editor
Version: unspecified → Trunk
Comment 2•16 years ago
|
||
I've investigated this: In tiny_mce.js, there is the insertPara function there is the (only one) mention of scrollIntoView(0). That's exactly what has changed in bug 332246, scrollIntoView(0) (or false) has been changed to do what IE is doing also. Now, IE doesn't show the problem on that site, because it's not following that code path: if(!isIE&&s.force_p_newlines){ed.onKeyPress.add(function(ed,e){if(e.keyCode==13&&!e.shiftKey){if(!t.insertPara(e))Event.cancel(e);}}); Tinmymce should change their code to scrollIntoView(1), that would give the desired behavior.
Assignee: nobody → english-us
Component: Editor → English US
Product: Core → Tech Evangelism
QA Contact: editor → english-us
Version: Trunk → unspecified
Comment 3•16 years ago
|
||
I've filed a bug in sourceforge for it now: http://sourceforge.net/tracker/index.php?func=detail&aid=1933349&group_id=103281&atid=635682
Comment 4•16 years ago
|
||
This is apparently solved in TinyMCE by completely removing scrollIntoView (!). So I guess it's just a matter of waiting before the examples get updated.
FCKEditor has the same problem: http://www.fckeditor.net/demo I've filed a ticket: http://dev.fckeditor.net/ticket/2086 I'm not sure if other designMode editors would also have problems?
Comment 6•16 years ago
|
||
Yeah, it seems very likely that FCKEditor has the same problem. I also saw scrollIntoView(false) being used in fckeditorcode_gecko.js.
Comment 7•13 years ago
|
||
INCOMPLETE due to lack of activity since the end of 2009. If someone is willing to investigate the issues raised in this bug to determine whether they still exist, *and* work with the site in question to fix any existing issues, please feel free to re-open and assign to yourself. Sorry for the bugspam; filter on "NO MORE PRE-2010 TE BUGS" to remove.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
Updated•9 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•