Closed
Bug 20107
Opened 25 years ago
Closed 25 years ago
[DOGFOOD] typing in the body causes body to scroll to top
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
M12
People
(Reporter: mozeditor, Assigned: kinmoz)
References
Details
(Whiteboard: [PDT+] will verify in 12/1 build.)
In any text field or editor: type enough text in the body so that you have more
than one screenful. Note that typing past the first screenful causes the top of
the body to be scrolled into view. The selection stays in the correct place,
characters typed appear in the right place. You just can't see it because
meanwhile that part of the document is scrolled out of view.
Updated•25 years ago
|
Whiteboard: [PDT+] → [PDT+] [by 12/10]
Summary: [dogfood] typing in the body causes body to scroll to top → [DOGFOOD] typing in the body causes body to scroll to top
This seems to only happen when Gfx Scrollbars are enabled.
If you disable them via the Edit->Preferences->Debug panel, you'll see that
scrolling while typing works fine.
Adding evaughan@netscape.com to the Cc list.
Whiteboard: [PDT+] [by 12/10] → [PDT+] [by 11/30] Fix is in hand, waiting for tree to open for checkins.
Here's the fix for the bug. It's already been reviewed by evaughan@netscape.com.
Index: nsScrollPortFrame.cpp
===================================================================
RCS file: /cvsroot/mozilla/layout/html/base/src/nsScrollPortFrame.cpp,v
retrieving revision 3.12
diff -r3.12 nsScrollPortFrame.cpp
453c453
< border.left, border.top, 0, aStatus);
---
> border.left, border.top, NS_FRAME_NO_MOVE_VIEW, aStatus);
484c484
< FinishReflowChild(kidFrame, aPresContext, kidDesiredSize, x, y, 0);
---
> FinishReflowChild(kidFrame, aPresContext, kidDesiredSize, x, y, NS_FRAME_NO_
MOVE_VIEW);
Bug #19541 is caused by the same problem, but it has different symptoms. Adding
dependency.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fix checked into:
mozilla/layout/html/base/src/nsScrollPortFrame.cpp revision 3.13
Modified nsScrollPortFrame::Reflow() to pass NS_FRAME_NO_MOVE_VIEW when
reflowing it's kidFrame.
r=evaughan@netscape.com
Fix should appear in the 12/01/99 Mozilla/SeaMonkey builds.
Whiteboard: [PDT+] [by 11/30] Fix is in hand, waiting for tree to open for checkins. → [PDT+] will verify in 12/1 build.
Comment 9•25 years ago
|
||
linking to 12658, composer pdt+ bug tracking
Comment 10•25 years ago
|
||
verified in 12/1 build.
You need to log in
before you can comment on or make changes to this bug.
Description
•