check the position of the scroll in the interactive#7198
Merged
Conversation
window, if it is at the bottom, the screen stays at the bottom, and if not, the screen stays in place. Throttling of the scroll was increased to help with consistency on rapidly appearing plots.
rchiodo
reviewed
Sep 4, 2019
rchiodo
reviewed
Sep 4, 2019
with: - regular code, -dataframes, -big and regular plots.
Codecov Report
@@ Coverage Diff @@
## master #7198 +/- ##
=========================================
+ Coverage 58.2% 58.5% +0.29%
=========================================
Files 486 486
Lines 21460 21460
Branches 3458 3463 +5
=========================================
+ Hits 12491 12555 +64
+ Misses 8188 8129 -59
+ Partials 781 776 -5
Continue to review full report at Codecov.
|
rchiodo
reviewed
Sep 5, 2019
rchiodo
reviewed
Sep 5, 2019
| this.internalScrollCount -= 1; | ||
| } else { | ||
| this.setState({ | ||
| isAtBottom: e.currentTarget.scrollHeight - e.currentTarget.scrollTop === e.currentTarget.clientHeight |
Member
There was a problem hiding this comment.
Just to check does this need any wiggle room in it?
Author
There was a problem hiding this comment.
I don't feel its confusing, it sticks if you are all the way on the bottom. If not it stays there.
DavidKutu
pushed a commit
that referenced
this pull request
Sep 5, 2019
* check the position of the scroll in the interactive window, if it is at the bottom, the screen stays at the bottom, and if not, the screen stays in place. Throttling of the scroll was increased to help with consistency on rapidly appearing plots. * handle the scroll in the MainPanel, tested to work with: - regular code, -dataframes, -big and regular plots. * Added some comments.
10 tasks
DavidKutu
pushed a commit
that referenced
this pull request
Sep 5, 2019
* check the position of the scroll in the interactive window, if it is at the bottom, the screen stays at the bottom, and if not, the screen stays in place. Throttling of the scroll was increased to help with consistency on rapidly appearing plots. * handle the scroll in the MainPanel, tested to work with: - regular code, -dataframes, -big and regular plots. * Added some comments.
DavidKutu
pushed a commit
that referenced
this pull request
Sep 9, 2019
* add cron job to nightly tests (#7128) (#7158) * close restart session right away (#7153) (#7161) * close restart session right away * ignore errors on await, don't want to stop and wait for shutdown * Release changes (#7183) * check the position of the scroll in the interactive (#7198) (#7236) * check the position of the scroll in the interactive window, if it is at the bottom, the screen stays at the bottom, and if not, the screen stays in place. Throttling of the scroll was increased to help with consistency on rapidly appearing plots. * handle the scroll in the MainPanel, tested to work with: - regular code, -dataframes, -big and regular plots. * Added some comments. * Turned the check of the scroll at the bottom from … (#7259) checking equal to checking a range to make it work with fractions. * Preparation for point release (#7268)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
window, if it is at the bottom, the screen stays at the
bottom, and if not, the screen stays in place.
Throttling of the scroll was increased to help with
consistency on rapidly appearing plots.
For #6580
package-lock.jsonhas been regenerated by runningnpm install(if dependencies have changed)