awx icon indicating copy to clipboard operation
awx copied to clipboard

Job output scroll position is off after events refresh

Open keithjgrant opened this issue 2 years ago • 0 comments

ISSUE TYPE
  • Bug or Docs Fix
COMPONENT NAME
  • UI
SUMMARY

When a job finishes running, the events on the job output page are refreshed from the API to ensure displayed output is fully in sync. However, after this happens, the output generally doesn't scroll back to the same location the user was viewing beforehand.

We can either: a) keep better track of the scroll position prior to the refresh and ensure we scroll back to that position and stay there as events load, or b) re-think this full refresh idea, and only fetch specific events that may be missing in the browser view

Option b) could probably be done in conjunction with #12543

keithjgrant avatar Jul 20 '22 23:07 keithjgrant