Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Always keep hunk-view header visible #1642
Description of the Change
This change will ensure that the "hunk view" header is always visible by making use of the CSS property
Currently, the header scrolls out of the viewport when the hunk is particularly long. This causes a problem when attempting to stage/unstage only certain lines - the user needs to scroll back up until the header comes into view again, being sure to look for the relevant header for this hunk.
Better user experience when dealing with large hunks.
Potentially confusing when two hunk headers are visible/adjacent (one from previous hunk with very few or no more of its lines showing, another from the next hunk).