This PR will make the file header sticky so it stays at the top of the window as you scroll through a longer file.
Calling scrollIntoView() is necessary in case we are far through a long file; as we click "viewed" the file will collapse and other files or chunks could end up above the screen.
This PR will make the file header sticky so it stays at the top of the window as you scroll through a longer file.
Calling
scrollIntoView()
is necessary in case we are far through a long file; as we click "viewed" the file will collapse and other files or chunks could end up above the screen.