-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Fix 'Diff stats' scroll error #7535
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
Conversation
When the 'Show diff stats' window is open, if longer than the screen, the sticky element does not scroll and hides the diff files in the background. Fixes #5532
Codecov Report
@@ Coverage Diff @@
## master #7535 +/- ##
==========================================
+ Coverage 41.23% 41.24% +0.01%
==========================================
Files 469 469
Lines 63620 63620
==========================================
+ Hits 26232 26241 +9
+ Misses 33965 33956 -9
Partials 3423 3423
Continue to review full report at Codecov.
|
Any screenshots? |
See #5532 |
Rather than removing sticky, add to the bare <div> element so that diff actions are sticky.
@silverwind agreed, updated to mirror Github style (Review button sticky) |
Why close? |
There is also some JS affecting this element. Looking into it but out of scope for this PR. |
When the 'Show diff stats' window is open, if the diff stats container is longer than the viewport, the sticky element does not scroll and hides the diff files in the background, although they continue to scroll.
Removed sticky class.
Fixes #5532