Description
The issue occurs when the specific path is deep & there are lots of entries to render,
The scrollToElement function is running before its rendered, hence it's unable to find that element
This can be reproduced by importing this scan: analysis-icu.json.txt
Go to Licenses Explorer > License Clues > ngpl > Click on path in file region table analysis-icu/icu4j-62.1.jar-extract/com/ibm/icu/impl/data/icudt62b/supplementalData.res
This takes the user to TableView, and after processing for a couple of seconds, shows the Tableview with respect to it
However, the path explorer isn't focused onto this path.
Ideal fix is to call the scrollToElement, only after the updated FileTree is rendered completely