InnovationEngine
InnovationEngine copied to clipboard
Auto-scroll to end of result
When a command has a long output, the user has to manually scroll to the end to see the "bash" for the next command. It should auto-scroll.
@mbifeld Did we ever determine if this was due to the portals terminal implementation? I believe that our application does issue commands for the scroll to happen automatically after a command/result is shown on screen, but the scroll is issued as an ANSI escape code to the terminal emulator that it's running in. It's been a while since I've tried, but I think I've tested the scrolling inside the standard cloud shell experience and the scrolling worked just fine using ie execute <doc> --environment azure
.
Portal has been testing if the scroll issue is on them, and current indications seem like this is the case.
This issue also seems to happen inside of iterm2, meaning that the issue might be with ie instead of the portal, but I have not tried to reproduce it myself to see the underlying cause.
Commit aed8dc96b220e7a48eec1d15eabbc502f180e3f0 with the snippet of code:
if viewportContentUpdated {
model.components.commandViewport.GotoBottom()
}
Fixed the issue for me.