mirror of
https://github.com/rancher-sandbox/rancher-desktop.git
synced 2021-10-13 00:04:06 +03:00
Merge pull request #491 from rancher-sandbox/488-scroll-textbox-into-view
The 'fullWindow' object doesn't scroll, its grandparent does
This commit is contained in:
@@ -283,7 +283,9 @@ export default {
|
||||
this.imageOutputCuller = getImageOutputCuller(command);
|
||||
|
||||
if (this.$refs.fullWindow) {
|
||||
this.$refs.fullWindow.scrollTop = this.$refs.fullWindow.scrollHeight;
|
||||
this.$nextTick(() => {
|
||||
this.$refs.fullWindow.parentElement.parentElement.scrollTop = this.$refs.fullWindow.scrollHeight;
|
||||
});
|
||||
}
|
||||
},
|
||||
deleteImage(obj) {
|
||||
|
||||
Reference in New Issue
Block a user