Closed
Bug 49479
Opened 24 years ago
Closed 24 years ago
[pagedown] on last page and [end] in xul tree widget don't select the last item.
Categories
(Core :: XBL, defect, P4)
Core
XBL
Tracking
()
VERIFIED
FIXED
M18
People
(Reporter: jag+mozbugs, Assigned: dr)
Details
(Whiteboard: [nsbeta3+])
Attachments
(1 file)
Go to some valid file:///, click an item and press the end key. It won't select
the last item. Same for pagedown when you're on the last page. The code which
tries to get the last child
(this.getElementsByTagName("treechildren")[0].lastChild) seems to select an item
which seemed to have a template rule in it. I'll see if I can get some more
information on this.
I'll attaching a patch which fixes this by using getRowCount and cleans up some
other scrolling issues.
Reporter | ||
Comment 1•24 years ago
|
||
Comment 3•24 years ago
|
||
Cool. I'll try to get this reviewed and into the tree soon. Thanks Peter!
Status: NEW → ASSIGNED
Target Milestone: --- → M18
Comment 4•24 years ago
|
||
nsbeta3+, P4 for M18, ->dr, please have hyatt review and apply.
Assignee: hyatt → dr
Status: ASSIGNED → NEW
Priority: P3 → P4
Whiteboard: [nsbeta3+]
checked in jag's fix
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 7•24 years ago
|
||
verified fixed, home/end/pgdn/pgup do scroll and then selection the current row.
mac/linux/win32 2000090308
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•