User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:18.104.22.168) Gecko/20061208 Firefox/22.214.171.124 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:126.96.36.199) Gecko/20061208 Firefox/188.8.131.52 I have a tree with a custom tree view, to which I want to scroll to a particular node. I was wanting to use scrollToRow to ensure that the the targeted row is at the top of the tree where applicable. The problem is that the where applicable is currently anywhere, but I would expect scrollToRow to only scroll when: 1) there are more tree rows than visible rows (or) 2) there is a scrollbar shown (same as above?) I'll attach a xul file to show the bug. Reproducible: Always Steps to Reproduce: 1. Open attached xul file 2. Click on the button "Show Bug" 3. Tree rows are scrolled off the top Actual Results: Tree rows get scrolled off the top of the tree view (looks like they disappear) Expected Results: Tree rows to stay as they were, as the number of visible tree rows exceeds the total number of tree data rows.
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.trees → xptoolkit.widgets
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 days ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.