lambda-ui icon indicating copy to clipboard operation
lambda-ui copied to clipboard

Disable automatic scrolling in output

Open hamvocke opened this issue 8 years ago • 2 comments
trafficstars

When I open an active build step's output there's a good chance that more output keeps coming in. The show output layer scrolls to bottom automatically which is quite annoying when I try to read something on beginning of the output text. It'd be nice to stop automatic scrolling when needed (e.g. by providing a button that toggles that behaviour).

hamvocke avatar Feb 08 '17 08:02 hamvocke

Here's how the lambdacd-core UI solves this. Essentially, it enables auto-scrolling only if the user scrolled to the bottom. It's a simplified version of what Jenkins does

flosell avatar Feb 08 '17 08:02 flosell

@flosell: Personally I like the idea of a toggle/checkbox as I would not have to scroll down (catch up) with the output if I was to read something but then like to continue auto-scrolling.

On Wed, Feb 8, 2017 at 9:35 AM Florian Sellmayr [email protected] wrote:

Here's https://github.com/flosell/lambdacd/blob/9faeda2a3d7aebc7639dc4ae9f11641fcf9c4d5e/src/cljs/lambdacd/output.cljs#L54 how the lambdacd-core UI solves this. Essentially, it enables auto-scrolling only if the user scrolled to the bottom. It's a simplified version of what Jenkins does https://github.com/jenkinsci/jenkins/blob/b4095bc4b6c62023a2029e5e2faef8ad0e3a4252/war/src/main/webapp/scripts/hudson-behavior.js#L1388

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sroidl/lambda-ui/issues/87#issuecomment-278264605, or mute the thread https://github.com/notifications/unsubscribe-auth/ANpnmJRy9_8MxWR2Zd_ay0m-S43lgLFRks5raX5VgaJpZM4L6fun .

--

Sebastian Roidl

Developer

[image: ThoughtWorks] http://www.thoughtworks.com/?utm_campaign=sebastian-roidl-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator

ThoughtWorks Deutschland GmbH - Großer Burstah 46-48 - D-20457 Hamburg Sitz der Gesellschaft: Hamburg - Geschäftsführer: Dr. Peter Buhrmann - AG Hamburg - HRB 115336

sroidl avatar Feb 08 '17 12:02 sroidl