mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 13:40:17 -10:00
In the Bug 1335055, accessibility features were added for re-focusing on a TreeNode when it was unmounted. Unfortunately this is incompatible with how the Tree provides a virtualized view, where it only has DOM nodes on the page that will be visibile when things are scrolled. So when a view is scrolled down, the TreeNode components get unmounted. The focused node is still technically focused, but the actual component is no longer mounted and present on the page. This causes the focus to incorrectly jump around as the user scrolls down the page. MozReview-Commit-ID: 64hlwCax0Ej