Merge branch '29897-remove-force-scroll-for-mr-changes-diff' into 'master'
Remove forced scroll into view when switching to "Changes" MR tab Closes #29897 See merge request !10194
This commit is contained in:
commit
c0ce9d0157
|
@ -127,9 +127,6 @@ require('./flash');
|
||||||
if (this.diffViewType() === 'parallel') {
|
if (this.diffViewType() === 'parallel') {
|
||||||
this.expandViewContainer();
|
this.expandViewContainer();
|
||||||
}
|
}
|
||||||
$.scrollTo('.merge-request-details .merge-request-tabs', {
|
|
||||||
offset: 0,
|
|
||||||
});
|
|
||||||
} else if (action === 'pipelines') {
|
} else if (action === 'pipelines') {
|
||||||
if (this.pipelinesLoaded) {
|
if (this.pipelinesLoaded) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Remove forced scroll into view when switching to Changes MR tab
|
||||||
|
merge_request:
|
||||||
|
author:
|
Loading…
Reference in New Issue