Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logs loading newer #4814

Merged
merged 2 commits into from
Nov 14, 2018
Merged

Fix logs loading newer #4814

merged 2 commits into from
Nov 14, 2018

Conversation

OfTheDelmer
Copy link
Contributor

@OfTheDelmer OfTheDelmer commented Nov 14, 2018

Closes #https://github.com/influxdata/applications-team-issues/issues/267

Briefly describe your proposed changes:
Makes isLoadingNewer part of the LogsPage state so the table will be re-rendered once the logs table has finished loading newer rows. This fixes a race condition where scrolling to the top of the logs table could cause scroll position to get stuck if the user did not scroll while new rows were being added.
What was the problem?
Scroll position could get stuck because the update that signaled loading newer had completed was not causing the table to be rendered
What was the solution?
Move isLoadingNewer into the LogsPage state and update state once a fetch for newer data has completed.

  • CHANGELOG.md updated with a link to the PR (not the Issue)
  • Rebased/mergeable
  • Tests pass

@OfTheDelmer OfTheDelmer force-pushed the fix/loading-newer-scrollbar branch from 6aef2ae to bac584b Compare November 14, 2018 19:50
@OfTheDelmer OfTheDelmer merged commit 27f50dc into master Nov 14, 2018
@OfTheDelmer OfTheDelmer deleted the fix/loading-newer-scrollbar branch November 14, 2018 20:01
OfTheDelmer added a commit that referenced this pull request Nov 14, 2018
Fix logs loading newer scroll 

* Fix logs loading newer
* Update changelog 1.7.4 bug fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants