There has been a bug fix request on Github since March 2018 that has yet to be addressed:
Dashboard: Fixed template variables in top of windows as you scroll #11166
“When scroll down page to view extra graphs, fixed template variables in top of windows.”
The same issue has been unaddressed on this forum since 2019:
#Lock variable controls on the UI so scrolling the browser doesn’t scroll them off the screen
This issue is that the Variable row of dashboards scrolls off-screen when one scrolls lower in the page to view panels. To change variables, users have to scroll all the way back to the top, change the variable(s) then scroll back down to the panel they were viewing to see the results.
If the variable change did not show the information needed or expected, this scroll-up and scroll-down must be repeated.
This is a poor UI / UX condition and needs fixing . . .since nearly six (6) years.
What will it take for Grafanalabs to address this, please?
@grafanalab400 @grafanalabs Would you please prioritize this fix, and update the community both here and on Dashboard: Fixed template variables in top of windows as you scroll · Issue #11166 · grafana/grafana · GitHub