Skip to content

[OGUI-1924] Fix incorrectly called disable auto scroll - #3675

Draft
isaachilly wants to merge 9 commits into
improv/ILG/OGUI-1929/Replace-autoScroll-checkboxfrom
bug/ILG/OGUI-1924/Fix-incorrectly-called-disableAutoScroll
Draft

isaachilly wants to merge 9 commits into
improv/ILG/OGUI-1929/Replace-autoScroll-checkboxfrom
bug/ILG/OGUI-1924/Fix-incorrectly-called-disableAutoScroll

Conversation

@isaachilly

Copy link
Copy Markdown
Collaborator

I have JIRA issue created

  • branch and/or PR name(s) includes JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected
  • FLP integration tests were ran successful

Clearing logs or switching from a full query table to an empty live mode table shrinks the table. The scroll handler treated any decrease in `scrollTop` as the user scrolling up and disabled autoscroll.

A decrease now only counts if the view is no longer at the bottom.
Adds tests covering scrolling up, switching from a full query table to an empty live mode table, clearing the logs and zooming in/out.
…bug/ILG/OGUI-1924/Fix-incorrectly-called-disableAutoScroll
@isaachilly isaachilly self-assigned this Oct 9, 2026
@isaachilly
isaachilly added this pull request to stack #3676 October 9, 2026 15:34
@isaachilly isaachilly changed the title Bug/ilg/og UI 1924/fix incorrectly called disable auto scroll [OGUI-1924] Fix incorrectly called disable auto scroll Oct 9, 2026
Add a wheel listener to the log table so upward scrolling immediately disables live auto-scroll.

This was an issue in a CI/CD test where the scroll handler only checks scrollTop after the browser has actually scrolled. If a new log has made the browser jump back to the bottom before the check runs then the scroll is missed and autoScrollLive is kept enabled.
Last commit changed one too many instances of the old waitForScrollPastBottom calls

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant