Commit c0ce9d01 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

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
parents cef1d6d2 578b9011
...@@ -127,9 +127,6 @@ require('./flash'); ...@@ -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;
......
---
title: Remove forced scroll into view when switching to Changes MR tab
merge_request:
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment